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 / How can I add a placeh...
Power Pages
Unanswered

How can I add a placeholder in a form field with power pages?

(0) ShareShare
ReportReport
Posted on by 17

Dear community,

 

Does anyone know how to add a placeholder in a form? I would like to include a placeholder for all the fields in my form, such as the phone number field where you have the placeholder: "Provide a telephone number".

 

Please help me with this problem.

 

Best regards,

Ferre 't Kint

 

FerreTkint_0-1709887561875.pngFerreTkint_1-1709888167189.png

 

 

Categories:
I have the same question (0)
  • GWham1 Profile Picture
    on at

    You could use jQuery.

     

     <script type="text/javascript">
     $(document).ready(function() {
     $("#fieldid").attr("placeholder", "Placeholder text here");
     });
     </script>

     

     

  • FerreTkint Profile Picture
    17 on at

    Dear @GWham1 

     

    I added the jQuery but I need to add a Primary Key Query String Parameter Name? What do I need to fill in? It's the first time I add javascript in Power pages.

    FerreTkint_0-1710153133315.png

     

  • GWham1 Profile Picture
    on at

    Looks like you are using an Multistep Form (Advanced Form). It depends a little on exactly what the steps before are doing and which table you are using. If you're using Query String and have not specifically changed anything, you should be able to use id for that. If it's the same table as the before step you can also use "Result from previous step" instead of Query String.

  • Fubar Profile Picture
    8,514 Super User 2026 Season 1 on at

    As per GWham1 you would probably usually use result from previous step, but if the first step (and it is an edit form) or you are sending an paramter use id (or the parameter name you defined from the sending form).

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
Valantis Profile Picture

Valantis 39

#2
sannavajjala87 Profile Picture

sannavajjala87 36 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 24

Last 30 days Overall leaderboard