I’m trying to redirect a user to a particular form on condition of a fields value. For example if ${moving} = YES after form completion, user is redirected to form#2.
I’ve studied the customize logic options in package and the package party setup but can’t seem to put the pieces together. Is this possible? Perhaps I should explore using javascript to display divs within the form when a variable = ‘some value’?
Any ideas are greatly appreciated.
Assuming form1 and form2 are in the same package, this is easily done with the custom logic in a package.
Put Form1 and Form2 in a package. By default, this means both forms will always be shown. However, with custom logic, you can skip forms that are not needed (in your case, if ${moving} != YES SKIP FORM 2):
https://github.com/OpenESignForms/openesignforms/wiki/ProgrammingGuide#skip-document-action
Note that with skip, you can skip the entire document for all parties, or there's an option to skip a document only for a given party (for example, if Form2 is only sometimes used by PartyA, but must still be done by PartyB).