Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Target submit button inside form detail using javascript

(0) ShareShare
ReportReport
Posted on by 18

Hi Team, 

 

I am trying to target the submit button inside the entity form to either enable or disable it using an if function. I was able to target the fields plus their value using the code below. How can i target the submit button inside that form using javascript? Is this even possible?

 

 

$(document).ready(function() {

const project = $("#cr578_projectbudget").val();
const year1 = $("#cr578_year1").val();
const year2 = $("#cr578_year2").val();
const year3 = $("#cr578_year3").val();
const year4 = $("#cr578_year4").val();
const year5 = $("#cr578_year5").val();
}};
  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Target submit button inside form detail using javascript

    Hi, can you try the following:

    $(".form-custom-actions").find("input[type=button]").hide();

     that should hide the submit button

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35