Skip to main content

Notifications

Community site session details

Community site session details

Session Id : wmKJ9/3pYjdlziU2QpByzi
Power Pages - Power Apps Portals
Unanswered

Target submit button inside form detail using javascript

Like (0) ShareShare
ReportReport
Posted on 28 Oct 2020 18:10:30 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,315 Most Valuable Professional on 28 Oct 2020 at 20:19:11
    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Pages - Power Apps Portals

#1
stampcoin Profile Picture

stampcoin 15

#2
Jon Unzueta Profile Picture

Jon Unzueta 13

#3
Fubar Profile Picture

Fubar 10 Super User 2025 Season 1

Overall leaderboard
Loading started