Forums

Multi-select dropdown will not save to all choices

momentis 22 Jun, 2015
I am converting a CFv4 form into CFv5. It is a very simple data entry form, one field of which is a multi-select dropdown. The form in CFv4 works perfectly. I have duplicated everything in CFv5, but the multi-select field will save only the last option selected to the database. I have added the Handle Arrays action to the On Save event, preceding the DB Save. The setup is exactly the same as the CFv4 form, yet it will not work. There are several more options in the Handle Arrays action in CFv5, so perhaps I am missing something?
GreyHead 22 Jun, 2015
Hi Rick,

Please add [] to the end of the name of the multi-select drop-down e.g. choose_one[]

Bob
GreyHead 22 Jun, 2015
Answer
1 Likes
Hi Rick,

Please add [] to the end of the name of the multi-select drop-down e.g. choose_one[]

Bob
momentis 22 Jun, 2015
Thanks, Bob. I had found something about this, but I was adding the [] to both the field name in the form as well as the field name in the Handle Arrays action. 😶 😶 😶
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger