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 / Conditional Logic in P...
Power Pages
Answered

Conditional Logic in Power Pages form

(0) ShareShare
ReportReport
Posted on by 13

Dear All,

 

I am trying to make a form in Power Pages with some sort of simple conditional logic. Such as when a certain condition is clicked a text field is visible for the users.

 

Thanks.

Categories:
I have the same question (0)
  • EmadBeshai Profile Picture
    806 Moderator on at

    Hi @aesthetic123 ,

     

    You can achieve that by using jQuery inside the forms, Please check the below links

    Show/Hide fields, based on the selection of a drop... - Power Platform Community (microsoft.com)

    Solved: Hide/Show options in Option Set fields - Power Platform Community (microsoft.com) 

    EmadBeshai_0-1697720785860.png

     

     

    Please mark this answer as accepted if it helped you, thank you!

  • Verified answer
    domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    Hi @aesthetic123 ,

     

    If its a basic form, add custom JS on: Open your Basic Form in Portal management ModelDrivenApp-> select Additional Settings tab -> at the bottom, add your custom JS.

    If its a Multistep form, add custom JS on: Open your Multistep form in Portal management ModelDrivenApp-> open your step from the Form Steps tab -> at the botton of the Form Options tab, add your custom JS.

    Your JS will be something similier as:

    $(document).ready(function () {
    if ( //your condition) {
        $("#abc_contactid").closest("td").show();
    }
    });
    ----------------------
    If you enjoy this post, click the thumbs-up button. If it helped you, mark it as a solution so others can find it easily.

    Cheers,
    Dom

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
sannavajjala87 Profile Picture

sannavajjala87 42 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 35

#3
Fubar Profile Picture

Fubar 23 Super User 2026 Season 1

Last 30 days Overall leaderboard