Support » Plugin: Events Made Easy Frontend Submit » required field on form

  • Resolved cptz17

    (@cptz17)


    Hi,

    I would like to have the start time to be required so I made this :

    <div class=”input”>
    <label for=”event_start_time”><?php _e(‘Time’,’events-made-easy-frontend-submit’); ?><small><?php _e(‘required’,’events-made-easy-frontend-submit’); ?></small></label>
    <?php EMEFS::required_field(‘event_start_time’); ?>
    <?php EMEFS::error(‘event_start_time’); ?>
    </div>

    But when I don’t choose a time my form is validated anyway ! Can you help me please ?

    Thank you in advance.

    Best regards,

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Can you help me please ?

    Thank you in advance.

    Best regards,

    Plugin Author Franky

    (@liedekef)

    Ic sorry, I lost track of this one. I’ll try to take a look at it later on, probably it is related to the empty date being zeroed.

    Plugin Author Franky

    (@liedekef)

    I released a version that should solve this issue.

    Hi thank you for the update but now when I remove the end date and time, my form doesn’t work anymore. You see, I want a start date and time but not the end date and time.

    Thank you for your answer

    I need to add that I use elementor and now all my Title (h1,h2,h3) have disappear … they reappear when I deactivate the plugin (Events Made Easy Frontend Submit).

    Please help.

    Plugin Author Franky

    (@liedekef)

    EMEFS doesn’t do anything layout-wise, you need to check your used emefs template if something isn’t correct.
    Concerning the end date and time: while it is not logical to not have an end date/time, I’ll revert to the old behavior of setting the end date/time to the start date/time if empty. The next version fixes this (also released).

    Ok thank you very much for your help !

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.