Input problem
-
Thanks for this nice frontend-eme plugin and the eme-plugin. However I have a problem.
In my form_test.php I made the following changes/additions, resulting in two additional input fields:<div class="input"> <label for="event_single_event_format"><?php _e('template form id=2','events-made-easy-frontend-submit'); ?></label><br /> <?php EMEFS::required_field('event_single_event_format'); ?> </div> <div class="input"> <label for="event_registration_form_format"><?php _e('template vrijwilligers id=1','events-made-easy-frontend-submit'); ?></label><br /> <?php EMEFS::required_field('event_registration_form_format'); ?> </div>
I have two templates. With those those templates I can get what I want. But …. I do not know or understand or find what kind of input I have to give in the two additional input fields of the eme-frontend submit page.
What I did find is that if I make those fields textareas and put the the text of both templates in those fields, the eme-frontend plugin does exactly what I want. But for an eme-frontend-way-of-living for my volunteers this is not very comfortable and I don’t want them in my WordPress backend.
The texts of my templates are (at present it’s all on my local host):
id=2
<strong>Vrijwilligers voor rondleidingen op afspraak in de Dwingeloo Radiotelescoop op #_STARTDATE{l j F Y} van #_STARTTIME tot #_ENDTIME uur </strong>#_NOTES Aangemelde vrijwilligers<em>[eme_bookings id=#_EVENTID template_id=4]</em> #_ADDBOOKINGFORM #_CANCELBOOKINGFORM Terug naar het overzicht in <strong><a href="https://localhost/camrastransipbackup3/frontend-vrijwilligers/">Frontend vrijwilligers</a></strong>.
id=1
<div style="max-width: 400px;"> <div class="eme-rsvp-form"> <br/> <div><strong> * = verplicht veld</strong></div> <br/> <div>#_SEATS</div> <div>ACHTERNAAM *#_LASTNAME</div> <div>VOORNAAM *#REQ_FIRSTNAME</div> <div>E-MAIL *#_EMAIL</div> <div>INVULROOSTER * (vink tenminste één aan)</div> <div>#_FIELD{2}</div> <br/> <div>OPMERKINGEN:#_COMMENT</div> </div> </div> #_SUBMIT{Verzend je aanmelding}
May be I’m asking something which is not possible in this eme frontend plugin, but I hope I’m overlooking something.
Ard H https://www.camras.nl
- The topic ‘Input problem’ is closed to new replies.