shaggett
Forum Replies Created
-
Hi, the format is set as dd/mm/yy, so the output should be 03/13/2019 if I were to type out the date. When using
type="date"
, it would say that it is the wrong date format, even though I selected the date in the dd/mm/yyyy format.I switched the code back to
type="text"
, but added a placeholder so visitors were aware of the format when they type in the date manually:
<input class="em-date-start em-date-input-loc" type="text" placeholder="01/31/2019" />
and
<input class="em-date-end em-date-input-loc" type="text" placeholder="01/31/2019" />
The good news is, I found out why the datepicker wasn’t popping up!
For future people reading this, if you are using Bridge theme, add this to your custom CSS and the datepicker will work:
div#ui-datepicker-div { z-index: 9999 !important; }
Hmm, don’t see any pending submissions from you.
Any way to change the format for the datepicker? The frontend shows it as “dd/mm/yyyy” when I use
type="date"
(keeping the defaulttype="text"
does not show the datepicker popup on the frontend like it’s supposed to)Our site visitors are used to date formats being “01/31/2019″ rather than 31/01/2019” and making them need to manually type in hyphens would just be another step they’ll be confused about.
- This reply was modified 6 years ago by shaggett.
Hmm, I don’t see it in our pending list. I’ll wait a little to see if it’s just delayed in being received. Thanks for helping with this, though!
Ah! Thanks. So now my when’s edits are showing on the frontend, however the where’s are not. But that’s not quite as important right now.
Datepicker still does not pop up for me, and it’s telling me it’s the wrong format when I enter a date.
mm/dd/yyyy was working originally when I manually entered the date, which was why I have the note on the page, but now I get the error “Dates must have correct formatting. Please use the date picker provided.”
Any ideas?
Hi there,
I was looking to modify specific sections in the form (ie: When, Where).
I have copied event-editor.php and location-editor.php to my theme folder to see if that would help resolve my issue, but it did not.The link you referenced about creating child template files is what I used to create mine before I created a support post.
So for example, the paths for the child when.php and when-with-recurring.php files are:
wp-content/themes/BIDPeekskill/events-manager/forms/event/when.php
wp-content/themes/BIDPeekskill/events-manager/forms/event/when-with-recurring.phpthe parent files for when.php and when-with-recurring.php still reside at:
wp-content/plugins/events-manager/templates/forms/event/when.php
wp-content/plugins/events-manager/templates/forms/event/when-with-recurring.phpCreating these child files did reflect on the frontend, though.
Editing the parent files also does not reflect on the frontend.Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Adding more Conditional RulesThanks! Will look into that.
Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Adding more Conditional RulesBump because I would love any input.
Thanks.Forum: Plugins
In reply to: [Conditional Fields for Contact Form 7] Adding more Conditional RulesBump