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 / 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,482 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 46

#2
Valantis Profile Picture

Valantis 24

#2
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard