What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Hiding a field after a certain date.Asked by sctp on August 08, 2016 at 07:12 PM
I have a dinner reservation form that we use for online reservations. When they sign up and pay for the dinner meeting, members are $35.00, non members are $40.00 and it is $40.00 for all after the Friday prior to the dinner meeting. I can not find how to hide the field and this week I just had to delete it. Next week I will add it back in so they can register for the September meeting. Here is the link to the form. https://form.jotform.com/jsform/61646978137166
Is there any coding I can use to hide the field starting on a certain date so I don't have to manually remove the field and then re-create the field?
May I ask which field do you want to hide after a certain date? If you are referring to the products in the payment field, then unfortunately it is not possible to hide them with conditions.
A possible workaround I can suggest would be to have two versions of the payment field. One version has the products priced at $35 and $40, while the other payment field has all the products priced at $40. To have two payment fields in one form, please follow this guide: How to Create a Basic Multiple Payment form.
Then to show the correct version based on the date, simply add a date field in your form and set the default date to Current.
Use the Show/Hide Condition to show the field if the date field is after the set value.