Forums

(solved) questions

chrissy6930 25 May, 2011
hi all,

after having followed the available tutes I am now facing a bit of a prob:

I need a single form for submitting data (done) but would require the rows be displayed in three different content items depending on the value of a checkboxes group

- how could I create a form as described in the CFV4_db_multi_record_loader tute but only selecting those records with a specific value for the checkboxes group field?

- can I display a form in a content item at all?

J!1.5.23; CF4 RC1.8
GreyHead 25 May, 2011
Hi chrissy6930 ,

You can display a form in an article using the ChronoForms plug-in.

I'm afraid that I don't understand the rest of your question though; please will you spell it out in more detail.

Bob
chrissy6930 25 May, 2011
thanks for getting back to me!

well the submission form I created holds a date field, several text boxes and a checkboxes group ('group') with 3 values. upon submission of the form the data is stored in a table

now for displaying the rows in that table I would need additional forms:
form 1 should display only those rows in the above table where group = 1
form 2 should display only those rows in the above table where group = 2
form 3 should display only those rows in the above table where group = 3

the submission form will be assigned to user menu set to special while forms 1-3 (the respective content items) will be assigned to a different menu with public access

hope I'm making more sense now🙂
GreyHead 25 May, 2011
Hi chrissy6930,

If I've got it now, you'd add a parameter to the link calling the page like &r=1 and then use that to in the WHERE box of the DB loader code.

Bob
chrissy6930 26 May, 2011
thanks again!🙂

I have added
`group_select`=2
to the WHERE statement under the advanced tab of the loader

only what would you mean with "the link calling the page" ? where am I to add the respective parameter ?
GreyHead 27 May, 2011
Hi Chrissy6930,

In the menu items I guess; though you may have to make them type 'external' for it to work.

Bob
This topic is locked and no more replies can be posted.