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
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).
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.
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.
You could use jQuery.
<script type="text/javascript">
$(document).ready(function() {
$("#fieldid").attr("placeholder", "Placeholder text here");
});
</script>
Lucas001
60
Super User 2025 Season 2
Fubar
55
Super User 2025 Season 2
surya narayanan
35