84 Posts
Skepsis
10 years ago
1
Topic

Hello everybody,

In my form I want to display the labels inside the fields as a placholder. This works fine using the placeholder attribut or the "onfocus-stuff".

Some fields are required (has to be filled) but the validation doesnt work because the fields are not emtpy because of the placeholder-value.

What options do I have to make a correct validation?


Greetings
Skepsis

Get a Book for SEBLOD
Ian
10 years ago
0
Level 1
Hide your labels, go to the edit section of the field, in the Stuff see Custom Attributes and add...

placeholder="xxx"
Get a Book for SEBLOD