Events Made Easy Forums How do I … Front End date format

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #53135
    Anonymous
    Inactive

    Hello Franky,

    Just trying to get the frontend submit form to work.
    Whatever date format I enter it keeps saying “Enter the events date”
    I have tried 12/12/2014 2014/12/12 12-12-2014 and 2014-12-12

    It would be great to have a datepicker like the backend.

    Many thanks in advance.

    John

    #53136
    Franky
    Keymaster

    It does support a datepicker. What version of eme and frontend submit are you using?

    #53137
    Anonymous
    Inactive

    Hello Franky,

    Events Made Easy: Version 1.5.9
    Events Made Easy Frontend Submit: Version 1.0.3
    Wordpress 4

    #53138
    Franky
    Keymaster

    Then something is causing javascript errors. Can you check your browser console for hints?

    #53139
    Anonymous
    Inactive

    Chrome console shows the follow error

    emefs.js?ver=4.0?

    Line 42, Column 74 Uncaught TypeError: Cannot set property ‘_renderItem’ of undefined

    }).data( “ui-autocomplete” )._renderItem = function( ul, item ) {

    #53140
    Franky
    Keymaster

    Can you check if this helps you (jquery 1.10 needs this, but I need to check the jquery version that comes with wp):

    http://stackoverflow.com/questions/9513251/cannot-set-property-renderitem-of-undefined-jquery-ui-autocomplete-with-html

    Edit: I just checked the code, and it should work just fine (wp comes with jquery version 1.11.1). The only thing missing in my code is the line
    .data( "ui-autocomplete-item", item )
    that is given in the answer on the link above. But in my setup this doesn’t seem to have any effect: the autocomplete works fine.

    Maybe you can provide an url for me to test? And can you test with firefox too?

    #53141
    Anonymous
    Inactive

    Hello Franky,

    Using .data(“autocomplete”).

    Now works with no errors using Chrome, Firefox and IE8

    Thank you so much for your excellent support

    #53142
    Franky
    Keymaster

    Can it be that your jquery version is too old then? WP delivers 1.11, what version are you using (and why not the wp version)?

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top