• Resolved Rolf

    (@rolfnew)


    I would like to enter an event in the front end of the event_form. The American system is required at the date. Upon submission, an error is issued and not processed.
    Can you configure [event_form] according to?

    Thanks

    Rolf

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Visiting the link and I do receive the following error

    “Add Event
    Du musst angemeldet sein, um deine Veranstaltungen sehen und verwalten zu k?nnen.”

    What specific error do you see when you’re submitting an event? Please do provide us a screenshot if possible.

    Please use English on screenshot, because if it’s another language and a screenshot then We won’t be able to understand it as Support usually knows English only.

    Thread Starter Rolf

    (@rolfnew)

    Hallo,

    I’ve removed the login. The page is accessible.

    This error message appears:
    Data must be properly formatted. Please use the date selection.

    Hello,

    Under Events > Settings > Formatting > Date/Time > Date Picker Format, You might have a wrong format there? The format should be something like: “mm-dd-yy” Sometimes users put yyyy thus it’s making the year display twice.

    Thread Starter Rolf

    (@rolfnew)

    Hallo,
    Originally, I had specified “dd.mm.yy”. Tried it with “yy-mm-dd”. Always the same. The year is converted from 20 in 08.

    Thread Starter Rolf

    (@rolfnew)

    Hallo,

    When you enter the date 20-04-20 to 23-04-20 -> 08/04/20 to 11/04/20.
    When you enter the date 01-03-20 to 05-3-20 -> 01/03/20 to 05/03/20.
    Both show but to send same error, you should use the datepicker.

    • This reply was modified 5 years, 7 months ago by Rolf.

    When I visit your site, it does not show any date picker when focusing on the date inputs. Looking at your source code, you are missing the “hasDatepicker” class in both fields.

    EM needs that class to initiate the date picker.

    This is your code for the start date:
    <input class="em-date-start em-date-input-loc" type="text">

    This is what it should be:
    <input class="em-date-start em-date-input-loc hasDatepicker" type="text" id="dp1564738446562">

    Using a jQuery date picker allows you to show a different input format than the one actually processed and saved to the database.

    I had specified “dd.mm.yy”.

    That is incorrect. jQuery does not use dots. See https://api.jqueryui.com/datepicker/
    So yy-mm-dd would be a valid format.

    Looking at the loaded sources, you are not loading events-manager.js. Most likely because you have AutOptimizer running. Please try it with that plugin deactivated.

    Thread Starter Rolf

    (@rolfnew)

    Hallo,
    I have disabled autoptimize plugin and leave the setting for the widget to “yy-mm-dd”. The problem persists.

    for future reference: pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    hope this helps (future) debugging,
    frank (ao dev)

    Hello,

    Have you tried the Settings under Events > Settings > Performance Optimization (Advanced) > Enable the javascript limit loading.

    Thread Starter Rolf

    (@rolfnew)

    Hallo,

    Performance optimization, I have enabled both options. The same result. In “Datumsauswahlwidget format” I have set now “yy-mm-dd”. Have tried to understand the history with the Inspector in Mozilla and chrome, but am probably too old to do so.

    Thread Starter Rolf

    (@rolfnew)

    Found the bug. In the “Newsletters” from Tribulant plugin there is a setting “Load Standardscripte datepicker-> jQuery UI”. After you enable this option, the “event_form” works.
    Thank you
    Rolf

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error in the [event_form] for use on the front end’ is closed to new replies.