This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

PLaceholder text disappears on form error


  1. tm2000
    Member

    HI,

    I have a very small space to use - so I have used placeholders within the form fields instead of using labels.

    I did this by your solutions below;
    value="{$element->default_value}"

    and change it to become:

    placeholder="{$element->default_value}"

    But - if a required field isn't filled out - the placeholders disappear - so the user doesn't know what to enter.

    Is there a way to retain the placeholders?

    I'm on Machform 3.5

    Thanks!

    Andy

    Posted 10 years ago #

RSS feed for this topic

Reply