date for custom field

Dear Feryaz,

Do you think it is possible to add date for custom field? for example if I need registrants to input their birthdate information.

Thank you so much.

breathe and smile,

In easyReservations_form_shortcode.php modify line 482 to:

easyreservations_build_datepicker(0, array(‘easy-form-from’, ‘easy-form-to’, ‘easy-custom–date-field’));

and by putting in this shortcode into form:

[custom text date-field]

For each additional date field add additional custom field ID (with “easy-custom–” prefix) to array in easyreservations_build_datepicker)

Thanks rootdev 😉

Dear Rootdevs,

First of all thank you so much!
I have tried your code long time ago, it did not work, so I gave up.
Today, I tried again, and I found out that when I copy-paste your script to the easyReservations_form_shortcode.php, then it appear in the little bit different.

I delete the double dash (–) and re enter it again, and finally I got it to work!

Thank you also Feryas!

breathe and smile,
Br. Dharmaputra

You must be logged in to reply in this thread.

4 posts