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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Target submit button i...
Power Pages
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();
}};
Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard