Forums

Title/Labels inside text box.

sactobob 15 Jul, 2016
Using latest version of Chronoforms. A website I'm converting to Joomla has a form that I'm trying to duplicate with CF. Is there a way to put the field's titles inside the text box?

Here's what the form looks like:

http://www.carlsonandgevelinger.com/About/

(I noticed filling out this post form, there are greyed out fields in the boxes, how to do with CF?)

Thanks,

-Robert
GreyHead 16 Jul, 2016
Hi Robert,

If you add text to the Placeholder box in the element settings that will put the titles in the box and remove them when you start to type.

Bob
sactobob 16 Jul, 2016
OMG, I didn't realize that was so simple! Never knew what that field was. Thanks!😶
sactobob 16 Jul, 2016
I noticed it doesn't take html, anyway to style the placeholder?
GreyHead 16 Jul, 2016
Hi euoceo,

Any CSS that you apply to the element will be applied to the Placeholder text - but will also be applied to the text the user types. If you need the CSS only to apply to the Placeholder text then you can probably do that with Javascript that checks if the input value is the same as the placeholder text or not.

Bob
This topic is locked and no more replies can be posted.