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.
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
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 😞
In the Portal Management App, on the Step in question, there is a tab "Form Definition" that has a Record Source field
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)
@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...
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),
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43