Support

Account

Home Forums General Issues Time Picker Fields

Helping

Time Picker Fields

  • Has anyone written JavaScript to modify the “end time” when two Time-Picker fields are used?

    I have a form with a “start_time” and “end_time” Time-Picker fields. When the start_time is changed and the end_time is empty, or is earlier than the selected start_time, I want to update the end_time to be 1 hour after the start_time.

    I can write it myself, but I thought I’d see if anyone had already done it.

  • Actually, that begs a second question…

    I use some code to put ACF forms on the front side of the web site. So, which hook/filter do I use to load my JavaScript file and can I test to see if the form is on the front end or back end?

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Time Picker Fields’ is closed to new replies.