How to Change Placeholder Text of a Field?

Hi everyone,

I’m trying to figure out how to change the placeholder text of a text field in PHPMaker. I want to show something like:

“If not available, put ‘not available’”

as the placeholder inside the input box.

The only thing I could find is the “Custom message” setting, but that just shows the text below the input field (see screenshot). I couldn’t find a way to change the placeholder itself.

Is there a way to change the placeholder text without writing custom code? Ideally something built-in in PHPMaker?

Thanks in advance!


grafik

Assume your field name is Linkedin, then you may simply put this following code in Page_Render server event that belongs to the Add Page:

$this->Linkedin->PlaceHolder = "If not available, put ‘not available’";
1 Like

Thank you!