Conditional Webform Fields based on Webform Trigger URL
If I have multiple webform triggers for a process, can I make the fields on each webform conditional so that based on the URL, a different set of fields would appear?
My current understanding is that is not possible, and instead we would suggest having one webform URL with a choice field at the top that would then make all the rest of the fields on the form conditional on the option selected in that first field. Is that correct?
Answers
-
@Nasir_352849 I see 2 options:
1. Auto-populate fields based on the URL and use field conditions to display fields based on what's populated.
2. Create 2 or more separate workflows with separate Web Form Triggers. Each of those web forms can display exactly the fields you want, and then they can each use the Workflow: Start another workflow action to call the main workflow.1 -
Thanks, @Jeff_291769. If I understand the first option correctly, this would require the url to be updated manually since the ability to insert "?field-fieldname=default" would be saved in the webform trigger url as "-field-fieldname-default" due to the camelcase in javascript. Is that correct?
0