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,487 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard