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
Started 11 years ago by searchtransparency | 7 posts |
-
Have any solutions to easily using placeholder text as an alternative to label text for both text fields and text areas been found yet?
Thanks!
Posted 11 years ago # -
I'm not sure what you mean by place-holder text. Do you mean "default value" ? There is a default value box in the field properties pane. Just fill that in and it will show in the area box or text box field.
If that's not what you mean, please elaborate.
Posted 11 years ago # -
Placeholder text disappears when the user clicks into the text box. Default Value does not. I need something that does.
Placeholder markup example: placeholder="Enter Your First Name"
Thanks!
Posted 11 years ago # -
its an HTML5 attribute. Hopefully Next machform upgrade should have support for this as well as HTML5 types. type="email" type="phone" type="number"
Posted 11 years ago # -
Yes, it seems Machform currently uses XHTML 1.0 Transitional.
I just tried this, below - just testing in a section break and it works more or less the way described, (when you start typing in the field the placeholder disappears) rather than clicking in the box and it disappears.
<input type="text" name="fname" placeholder="First name">
into say, a section break and see that it behaves like you described.I expect therefore you could manually add the placeholder to your forms - probably you have to find the code in the database as the forms are created on the fly, and not stored as a standard webpage HTML file.
Posted 11 years ago # -
Ok, thanks for the help. I tried finding the code that would need to be changed in order to get this to work, but with no success. Any one have an idea of where to find it?
Posted 11 years ago # -
It was just a guess on my part, perhaps not as easy as it sounded
:-)Posted 11 years ago #
Reply
You must log in to post.