Form branching into SP page

Hello everyone,

Could I create a branching form with plumsail to redirect people correctly into the right page ?

For example, I've got differents purchase type "A" and "B".
I would like to created a form with 2 radio buttons (or more) and when clicking on it, redirect to the right page with a right form (each purchase got its special form developed).

It can be a redirection or appearance of the form, depending on what I've chosen before.

Possible? did somebody already develop this ?

Hi @lolopixxx,

There are many ways to achieve this, but I'll need more information to suggest the best one.

Are you using Public Forms or SharePoint forms? Do you need the redirect to happen upon form submission or right as the user presses a radio button? Is opening a different form in a dialog a viable option?

Hello IliaLazarevskii,

I'm using SharePoint forms and yes it should be first, selection of the purchase type then click on a submission button.

A different form in a dialog can be viable option (even for now, I can't see the rendering at this stage :/)

thank you for your reply,

Hi @lolopixxx,

I suggest you redirect the user on form submission. You can implement a condition like so:

fd.spSaved(function(result) {
    if (fd.field('PurchaseType').value == 'A') {
        result.RedirectUrl = "URL A";
    } else if (fd.field('PurchaseType').value == 'B') {
        result.RedirectUrl = "URL B";
    } else if (fd.field('PurchaseType').value == 'C') {
        result.RedirectUrl = "URL C";
    }
});