I create a webform with text-fields. Some of the text-fields use the default placeholder but some I overwrite. Unfortunately those that are overwritten are not displayed as such.
i.e I add a text-field with the label "Name and Surname:"
The machine-name is "name_and_surname"
I set the field is required
The placeholder is set to "Name"
All the other options are left to the default.
When the form is displayed to the user, the placeholder is "Name and Surname: *"
I see the theme has it's own webform-form.tpl.php. Not quite sure what it is doing but if I delete the webform-form.tpl.php from the theme directory then it works.
Comments