• Resolved mjcreative

    (@danser81)


    Is there a way to add in field placeholders (ie. name, address, etc) for the form fields on the front end submission form? We are using custom attributes and event placeholders.

    For instance, people are inputting the incorrect information in the form fields because there is no text in the field to guide them. So field placeholders would be a HUGE help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • To do that you’d need to create a custom version of this template:
    /events-manager/templates/forms/event-editor.php

    This tutorial explains how to create custom templates that are upgrade-safe:
    https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter mjcreative

    (@danser81)

    So i have that already, I’m just not sure where/how to do field placeholders for the custom placeholders that we’ve used in our functions.php to have the social media fields. See code:

    // #_ATT{Instagram}
                case 'has_att_instagram':
                    if (is_array($EM_Event->event_attributes) && !empty($EM_Event->event_attributes['Instagram']))
                        $replacement = preg_replace('/\{\/?has_att_instagram\}/', '', $match);
                    else
                        $replacement = '';
                    break;
    • This reply was modified 7 years, 5 months ago by mjcreative.
    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try the suggestion of caimin editing event-editor.php and from there you can add input text placeholders.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Submission Form Placeholder’ is closed to new replies.