Can anyone help me with writing the below logic in Redirect URL in form settings -
If form mode is new and user is member of group A redirect to URL X
If form mode is new and user is member of group B redirect to URL Y
For everything else redirect to URL Z
Solved! Go to Solution.
this could do it:
fn-If(fn-And(Is New Mode, fn-IsMemberOfGroup("Group A")), "URL X", fn-If(fn-And(Is New Mode, fn-IsMemberOfGroup("Group B")), "URL Y", "URL Z"))
Make sure you take "Is New Mode" and all the functions from the formula builder.
Hello @Philipp Lucas
How would I do if > Is New Mode then sent to URL X and otherwise don;t redirect?
even better: if Is New Mode then redirect to URL X and if Is Edit Mode then refresh the form to Display Mode after it has been edited/submitted.
At moment, when the form is edited and then submitted for any changes > then the form refreshes back to Edit Mode instead of to Display Mode.
fn-If(Is New Mode, "URL X", " ")
fn-If(Is New Mode, "URL X", fn-If(Is Edit Mode, " ???? ")) < I tried with "Is Display Mode" but does not work.