Input field text and error css
Just installed your plugin and have almost set it up how I would like.
What I would like to do is have the placeholder text in the input fields which I can’t seem to do. I found a forum thread which was helpful and told me to change placeholder=”‘.esc_html($var[‘default’]).'” to placeholder=”‘.esc_html($var[‘name’]).'” which did work, however, I would like to be able to do it without editing the plugins core files. Also linked with this, is it possible to have the placeholder text disappear on click and then reappear when clicked off if nothing has been typed?
That is a link to the test site which has mailchimp integration built in within the theme but didn’t quite work exactly how i wanted it to but you can see what I am trying to achieve by clicking on the fields within the green box.
My second point is regarding the error message when you don’t fill in a field. Is it possible to just highlight the corresponding box with a red border instead of having text above it?
Sorry if my stupidly long message is confusing but any help would be greatly appreciated.
- The topic ‘Input field text and error css’ is closed to new replies.