New Form same functionality


#1

I am trying to move our Forms Designer form to Plumsail Modern Forms.
I need to have the form once submit to redirect back to another site.
Also I need for it to redirect based on user (Help desk see a different form) however I am unable to see how to do either of these things in the new form system.
Respectfully
Jennifer


#2

Hello, Jennifer!
I’ve already answered you in an email, but since this will be helpful to the future users, I also wanted to post it here.

Best way to redirect users on submit in SharePoint is to use fd.spSaved() event. For more events, check out our Events documentation.

The code could look like this:

fd.spSaved(function(result) { 
    result.RedirectUrl = 'http://plumsail.com';
});

Providing different forms for different users is currently limited as SharePoint Modern webparts do not have audiences, but there are other options that can be used.
.