It is possible but you will need to change a function: in event-espresso/includes/functionsform_build.php is a function called event_form_build
It is a large function but is pluggable ( http://codex.wordpress.org/Pluggable_Functions ) so could be copied to a custom plugin or to wp-content/uploads/espresso/custom_functions.php and edited there.
That function will then override the default one.
In the file you can remove the labels and add in the placeholder text as required.
Alternatively you could use a combination of CSS and Javascript to achieve it, by hiding the labels with CSS and using JS to add the placeholders.
You want to declare the function within custom_functions.php and then other areas to check if has already been declared and use that (rather than trying to re-declare the function)
So no the check should NOT be included within custom_functions.php. It should not cause an issue if you leave it in however.
It is possible, but not recommended. If you look in the DB with phpMyAdmin, find the table called ‘wp_events_qst_group_rel’, find the row with group_id = 1 and question_id = 3 and delete it.
The support post ‘Adding placeholder instead of label’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.