Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Jul 13, 2017 @ 14:35
    Nik
    0

    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

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Jul 13, 2017 @ 15:09
    Nicholas Westby
    0

    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.

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Jul 13, 2017 @ 15:58
    Nik
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft