Hello,
I’d like to have a form with a dropdown selection. When the selection is changed, the FormID is updated. Is that possible?
This is for an event that has multiple locations, and each one requires its own unique form/formID.
So user selects the location (from downdown), which then updates/refreshes(??) the formID so the information gets sent to the correct form.
Possible?
Thanks!
Hey, @MYoung83
I don’t see a documentation way to accomplish this out of the box. Maybe one of our community wizards has an idea — @JBeatty @Anton @MatthiasWeber, do you have any suggestions for @MYoung83?
Best,
Jaycee
Hey @Jaycee_Lewis if you ask a wizard, we need a magic spell - right? In this case i think we need: JavaScript ;-). In fact it is more a magic potion:
-
attach to the change event of the dropdown box (there are different ways - use jQuery if you can)
-
if the dropdown changes: read the selected option
-
find FormID in the dom (jQuery can help here again)
-
change with DOM-manipluation your FormID (What is the DOM? Answer here: https://www.w3schools.com/whatis/whatis_htmldom.asp)
Does this help, @MYoung83 ?
The next question is: Are you familiar with this kind of magic (known as JavaScript). If not, find one JavaScript wizard - the person will help you.
@MYoung83
@Jaycee_Lewis
Hey, @MatthiasWeber
Thank you very, very much!
Best,
Jaycee