Forums

How to refer to individual elements of a multifield to get their values

ataylor14 15 Aug, 2014
Hello
After several hours of looking into this I appeal to your help.

How can I refer to the individual elements of a multi-field in order to display their value, e.g., a multi-field that has textboxes, datapickers. I want to display their values on a page, email and insert them into a db etc. Many thanks.
GreyHead 15 Aug, 2014
Answer
Hi ataylor14,

A multi-field should only affect the form layout, not how the results are handled so I would expect that you would handle them in the same way as any other form element.

Just to check please drag a Debugger action into the On Submit event, then submit the form and post the debug results here and let me know which are the multi-field elements.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
ataylor14 19 Aug, 2014
You were right, the name of the element in the multifield was enough. I think that the reason I could not access it was because I was trying to get its value in the form before submitting the form but I was doing it in the wrong way.
Thank you for your reply.
Amelia
This topic is locked and no more replies can be posted.