• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Displaying submissions

Displaying submissions 7 years 3 months ago #37723

  • duncan
  • duncan's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 1
Hi,

I have been experimenting with displaying submissions in the front end.

I am experimenting today to see if I can recreate a knowledgebase using only RSForm. I don't know at this stage if this is possible and whether I should just drop this idea and find a suitable component. If I can't do it I will forget it.

What I'm trying to achieve is Users will be able to submit questions and select a category their question relates too.

In the frontend when a new user comes to the knowledgebase I want them to be able to choose a category and all the questions for that category will be displayed - they can then click on the question to view the answer.

Using the "if" statements, I've worked out how to show the contents of a field if another field is equal to a value. ie if my categoryname = specific category then it shows the text of the question. And it doesn't show questions if the category does not equal the specific category.

So, whilst experimenting, I did my testing on an existing table which already has many submissions and I chose a field to experiment with.

I created a menu item that would only display text when the field equaled a certain value. However, what I found is that every single row in the submissions table is returned and not just the rows I want to show. So I had several pages of results with some pages blank because the table rows had no content.

So, the question is how do I stop the blank rows/pages from being returned - is this at all possible?

Hope the above makes sense.

Regards

Duncan
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!