ShowTextBox Placeholder

0 Kudos

It would help our users to be able to provide placeholder text on a textbox, which shows them an example of a value they might enter.  Currently there does not seem to be an option to provide this to the form element.

Crownpeak Employee
Crownpeak Employee

You can set a default value to textboxes using the "defaultValue" parameter.

For example: Input.ShowTextBox("Textbox Name", "textbox_label", defaultValue: "Modified default value");

For more information please see the ShowTextBox developer documentation

Returning Observer

I'm referring to placeholder text rather than an actual value of the form field.