web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Conditional Step in mu...
Power Pages
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:
I have the same question (0)
  • Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    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),

  • lkay Profile Picture
    38 on at

    @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
    8,340 Super User 2025 Season 2 on at

    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

    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
    8,340 Super User 2025 Season 2 on at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard