I have a table of people and a table of events. I want to be able to show one event (😀 ) and then choose some (more then one) of the people🤨 to invite for that event.
How can I do this? (I don't know how this is called. So, I can not look for it.)
How can I do this? (I don't know how this is called. So, I can not look for it.)
Hi pokemon,
Normally you use either a select drop-down with 'multi' enabled or a check-box group. Both of those allow multiple selections.
Bob
Normally you use either a select drop-down with 'multi' enabled or a check-box group. Both of those allow multiple selections.
Bob
Is there somewhere an explanation of how to use a select drop-down with 'multi' enabled or a check-box group. I tried to make a drop-down but couldn't find how to enable multi. I also tried to make a check-box group,I really couldn't find out how to start.
(I like to use them with the contents of a database and fill the database too)
(I like to use them with the contents of a database and fill the database too)
Hi pokemon,
There's a 'multi' checkbox in the CFv4 Wizard, in Cfv3 you'd need to add multiple='multiple' to the select tag in the Form HTML and make the name into an array name e.g. name='states[]'.
With multiple drop-downs it can help to set the size greater than 1 so that the multiple selections are more apparent to the user.
Bob
There's a 'multi' checkbox in the CFv4 Wizard, in Cfv3 you'd need to add multiple='multiple' to the select tag in the Form HTML and make the name into an array name e.g. name='states[]'.
With multiple drop-downs it can help to set the size greater than 1 so that the multiple selections are more apparent to the user.
Bob
Bob,
I'm also having a problem with the multiple select drop down list saving to the database. I'm using version 4 and have tried putting [] in the names but to no success. Can you detail this out for version 4. I have created the tables and then put in the multiple select. If this is an issue, please let me know.
Thank you,
Allison
I'm also having a problem with the multiple select drop down list saving to the database. I'm using version 4 and have tried putting [] in the names but to no success. Can you detail this out for version 4. I have created the tables and then put in the multiple select. If this is an issue, please let me know.
Thank you,
Allison
Hi Allison,
There's no problem saving to the database BUT you need to add a Handle Arrays action before the DB Save to convert the array to a string.
Bob
PS There is a bug with republishing multiple selects - there a fix linked from the ChronoForms CFv4 RC2.0 bugs post in the CFv4 forum.
There's no problem saving to the database BUT you need to add a Handle Arrays action before the DB Save to convert the array to a string.
Bob
PS There is a bug with republishing multiple selects - there a fix linked from the ChronoForms CFv4 RC2.0 bugs post in the CFv4 forum.
This topic is locked and no more replies can be posted.