Support » Plugin: Contact Form by WPForms - Drag & Drop Form Builder for WordPress » Date/Time Picker Restriction Needed

  • Resolved cmaddux


    I am attempting to figure out how to restrict to a specific time on a specific day. For instance, my work schedule is open on Saturday from 9AM to 1PM, and on Wednesdays, I’m out of the office from 1:45 to 3:30PM. Is there a way to exclude the time on Wednesday, and include only the hours for Saturday? If so, can someone offer the code? Thank you!

    • This topic was modified 1 year, 5 months ago by cmaddux.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Ethan Choi


    Hi @cmaddux,

    You can restrict the time options using some custom code by following our tutorial.

    However, currently we don’t have the option to restrict time options conditionally based on the day selected.

    In this case you could create 3 sets of Date/Time fields with different date and time availability. You can restrict date availability in the date picker using custom code from this tutorial.

    Then, you may want to create a dropdown field for users to select a day of the week and use conditional logic to display the correct Date/Time field based on the day selected in the dropdown field.

    Hope this helps!

    On another note, it seems like you may have purchased a WPForms license since you have access to the Date/Time field. As a user of the paid version of WPForms, if you have further questions about paid features of WPForms, please contact us by submitting a support ticket. This is because rules do not allow us to provide extensive support for paid features of WPForms on the support forum for WPForms Lite.


Viewing 1 replies (of 1 total)
  • The topic ‘Date/Time Picker Restriction Needed’ is closed to new replies.