Frontend Submit #638
WXQ8NPb5TrbDNqzywcxF
started this conversation in
General
Replies: 1 comment
-
1: never worked in the old form too I suspect :-) But this should fix it: b4f7717 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm currently moving from old plugin to integrated Frontend Submit feature.
I've 2 problems.
I'm using templates.
1 - I'm unable to make a default value enabled for "event_seats"
#_FIELD{event_seats}{number}{value=2}
in html i have :
I think correct syntax should be :
<input type="number" id="event_seats" name="event[event_seats]" min="0" step="any" value="2" /><br>
2- I'm trying to set "location_id". I've seen it's part of function eme_new_event.
#_FIELD{location_id}{hidden}{value=7}
html output :
<input type="hidden" id="location_id" name="event[location_id]" /><input type="hidden" id="location_latitude" name="event[location_latitude]" /><input type="hidden" id="location_longitude" name="event[location_longitude]" /><br>
I don't understand what i'm doing wrong. I think "default values" are not properly
Thanks a lot for you help.
Beta Was this translation helpful? Give feedback.
All reactions