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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Mutistep conditional f...
Power Pages
Unanswered

Mutistep conditional form based on child records of parent entity

(0) ShareShare
ReportReport
Posted on by 18

Hello Experts,

 

I have a power pages multistep form based on entity A. I have a subgrid displayed that saves child records for entity b in one of the steps. Is there a way where in mutistep form I have conditional step based on records in child entity B?

 

Thank you

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,562 Super User 2026 Season 1 on at

    Hi @ashishkapur,

     

    is the condition like if there are child records or does the condition shall check which kind of child records are associated?

    I think what you want to achieve is not available via OOTB.

    Something what could work is setting up another yes/no column and let the user click to kind of force the conditional multi step. Maybe that could work in your case.

    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Not out of the box.  You may be able to work around it, but it may depend on exactly what you are needing to do.

    As suggested by Lucas you will want a field to hold a value that indicates which step to go to next, but then it depends e.g.:

    • if it is just that the Subgrid contains a record you could use JavaScript/JQuery to populate the flag
    • if it is more complex you may need to write a realtime plugin or workflow (may also be able to use Power Pages Flow - but not sure about it) to update the Flag
  • ashishkapur Profile Picture
    18 on at

    Hey @Lucas001 and @Fubar 

     

    Thank you for the replies. I need to validate against what kind of records are in child entity.

    My site is for pet license renewals. The child entity will hold multiple licenses for each application that uservwants to apply. Can a dataverse plugin (pre operation on update) be executed on each step of multistep form even if parent entity is not changed? If so, then I can perform logic and store true/false in a field of parent entity. I can then use this field in condition step.  I need to show certain sections of application based on license type. 

     

     

     

  • EmadBeshai Profile Picture
    806 Moderator on at

    Hi @ashishkapur ,

     

    You need to create a rollup field to indicate your subgrid values or create plugin to loop on the create, delete or update any of the records at the subgrid to update the field on thee parent entity, then use this field on the parent entity on your conditional step.

     

    If this post helps you with your problem, please mark this answer as Accepted Solution.
    If you like my response, please give it a Thumbs Up. 

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    @ashishkapur wrote:

    Can a dataverse plugin (pre operation on update) be executed on each step of multistep form even if parent entity is not changed? 

     


    I'm not 100% sure if the pre-operation would work or not, but it doesn't have to be pre-op it can be post op as long as it is realtime - the Next button saves the record prior to the next Condition step getting evaluated and pretty sure when you Next the condition is reevaluated each time irrespective of if there is dirty data or not. 

     

    Another alternative may be to Disable the submit/next button, add an event listener on the Subgrid "loaded" (or a mutationobserver) and then use that event to run a Portal WEB API call (or maybe even a Portal Flow) and use it to validate and if valid re-enable the button etc.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 56

#2
Valantis Profile Picture

Valantis 46

#3
rezarizvii Profile Picture

rezarizvii 25

Last 30 days Overall leaderboard