- This topic has 7 replies, 2 voices, and was last updated 10 years ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Front End date format
Tagged: date-format, frontend event submit form
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
It does support a datepicker. What version of eme and frontend submit are you using?
Hello Franky,
Events Made Easy: Version 1.5.9
Events Made Easy Frontend Submit: Version 1.0.3
Wordpress 4
Then something is causing javascript errors. Can you check your browser console for hints?
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 ) {
Can you check if this helps you (jquery 1.10 needs this, but I need to check the jquery version that comes with wp):
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?
Hello Franky,
Using .data(“autocomplete”).
Now works with no errors using Chrome, Firefox and IE8
Thank you so much for your excellent support
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)?