Umbraco Forms - cross purpose work flows / submissions
Hi guys,
So I'll start with an apology, I wasn't really sure what the best title for this was.
I'm after some Forms help from you wonderful people.
Question 1) Is it possible to use the submission of one form to auto complete the submission of another?
Example:
Form 1 has a comments box with optional name, and email. It also has a "I would like updates" check box. Now if the checkbox is selected, is it possible to make the optional name and email required and on submission send that information straight to form 2 submission end point, where form 2 is the sign up for updates form?
Question 2) If the above is not possible, is it possible to forward the information from the submission on so that it pre-populates the second form then the user just needs to click submit?
Hope that makes sense? If not just shout and ask for more information :-)
I don't know of an easy way to make validations conditional (i.e., based on the value of one field, toggle the validation of another field). However, maybe it could be done with a custom validation. Alternatively, I think Umbraco Forms has an event when any form submits, and you may be able to trigger validation errors from that event handler.
Rather than send data from one from to another form, why not simply create a workflow step that does whatever the secondary form would have done, and apply that workflow step to the first form? It'd probably have to be a custom workflow step, as it sounds like it would only execute if the checkbox is selected.
What I ideally want is the information that is common between both of the forms to show in the same list of entries in the back office, hence why a second submission type behaviour. That way, for the people who are sending out updates then can simply go to one place and download the list of subscribers (saves me having to create some sort of process for them).
I'll have to look into custom workflows and see what I can do. This is my first venture into Umbraco Forms so it's all fairly new.
Umbraco Forms - cross purpose work flows / submissions
Hi guys,
So I'll start with an apology, I wasn't really sure what the best title for this was.
I'm after some Forms help from you wonderful people.
Question 1) Is it possible to use the submission of one form to auto complete the submission of another?
Example: Form 1 has a comments box with optional name, and email. It also has a "I would like updates" check box. Now if the checkbox is selected, is it possible to make the optional name and email required and on submission send that information straight to form 2 submission end point, where form 2 is the sign up for updates form?
Question 2) If the above is not possible, is it possible to forward the information from the submission on so that it pre-populates the second form then the user just needs to click submit?
Hope that makes sense? If not just shout and ask for more information :-)
Thanks,
Nik
I don't know of an easy way to make validations conditional (i.e., based on the value of one field, toggle the validation of another field). However, maybe it could be done with a custom validation. Alternatively, I think Umbraco Forms has an event when any form submits, and you may be able to trigger validation errors from that event handler.
Rather than send data from one from to another form, why not simply create a workflow step that does whatever the secondary form would have done, and apply that workflow step to the first form? It'd probably have to be a custom workflow step, as it sounds like it would only execute if the checkbox is selected.
Hi Nicholas,
What I ideally want is the information that is common between both of the forms to show in the same list of entries in the back office, hence why a second submission type behaviour. That way, for the people who are sending out updates then can simply go to one place and download the list of subscribers (saves me having to create some sort of process for them).
I'll have to look into custom workflows and see what I can do. This is my first venture into Umbraco Forms so it's all fairly new.
is working on a reply...