Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Conditional Step in multistep form- error message

(0) ShareShare
ReportReport
Posted on by 38

I have a multistep form that's set up with the following order:

 

1. load tab step - 'personal info'

2. load tab step - yes/no field

3. Conditional step ; if schema = true

4. load tab step - 'additional information' if step 3 is set to true.

 

Why am I getting an error " we're sorry, but something went wrong...." not sure what is wrong with my steps?

 

Further, in a traditional model driven app, with business rules you can have additional fields appear based on the value of another field. Is javascript the only way to mimic this experience instead of having to hit next for each conditional step?

 

Please advise - I find the MS documentation is limited on this. 

 

thank you in advance.

 

Categories:
  • Fubar Profile Picture
    7,964 Super User 2025 Season 1 on at
    Re: Conditional Step in multistep form- error message

    Make sure you have set a next step for the other true/false path,

    beyond that you will probably have to screen shot your condition step

    you could also try turning disabling the custom error to see the full error (not sure if it will help or not in this case)

    https://learn.microsoft.com/en-us/power-pages/admin/view-portal-error-log

  • lkay Profile Picture
    38 on at
    Re: Conditional Step in multistep form- error message

    thank you @Fubar . i ensured that steps 1, 2, 4 have source type 'result form previous step' and the source step i chose for all of them is step 1. 

     

    It's still not working 😞

  • Fubar Profile Picture
    7,964 Super User 2025 Season 1 on at
    Re: Conditional Step in multistep form- error message

    In the Portal Management App, on the Step in question, there is a tab "Form Definition" that has a Record Source field

    Fubar_0-1696904508753.png

    If you select Result From Previous Step, you also need to then populate the Entity Source Step lookup (even though it may not indicate its mandatory)

  • lkay Profile Picture
    38 on at
    Re: Conditional Step in multistep form- error message

    @Fubar thanks for your clear breakdown. 

     

    I confirm I have my condition set up as true/false since its a yes/no.

    Could you please elaborate on how to modify the 'source' for step 4? I think I might be missing something here. Step 4 has no previous step...

     

    lkay_0-1696902054264.png

     

  • Fubar Profile Picture
    7,964 Super User 2025 Season 1 on at
    Re: Conditional Step in multistep form- error message

    Not sure exactly what the issue is as its a generic error, but for boolean (Yes/No) if you are not already doing so use true/false keywords and not 1 or 0, also double check the source for Step 4 (e.g. would usually be step 1 or 2 or current portal user .... make sure its not the conditional step)

    If you need to do additional show/hide etc (other than being able to put everything on a Step form and using a Condition step to route)  then JavaScript is how it is done (the portal does not support client side Business Rules),

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43