- wncbookAsked on March 23, 2017 at 04:44 PM
I have enabled certain fields of the form to show if it is after a certain date and time however, I can't figure out how to show a simple "warning" if the person attempts to use the form before that date and time. All they get is a weird flash of a blank form if they are trying to use the form and it is too early. It looks like the computer is making an error. Or I could just direct them back to the website if I can't actually direct them to a line on the form that says "too early". Any Suggestions
- JotForm SupportEltonCrisAnswered on March 23, 2017 at 07:29 PM
It quickly flash and gets hidden because of this condition.
You are hiding the whole page when the above condition is true.
I suggest to remove this and replace it with show/hide condition instead.
- wncbookAnswered on March 24, 2017 at 12:33 AM
I duplicated your example AND did the "show fields" which, I think, is what you were saying. It didn't work. Even though we are before the date specified, it showed all the fields. If I take the opposite logic (doing everything as in after a certain date and time, show fields), it sort of works. It won't show the fields of the form, but it also can't find a way to send a message/field to people to explain why they aren't allowed to sign up. I tried it both conditions, with either the show or hide fields, I've tried it with "skip page 1" and put the "reasons why the form isn't up" on the second page.
There has to be a way to do this but the example you gave me doesn't keep anyone from registering before the beginning date.
I appreciate that you replied so quickly and hope you will have an answer.
Thank you for looking at this.
- JotForm SupportEltonCrisAnswered on March 24, 2017 at 03:51 AM
I checked your form and I am having difficulties testing your conditions since you are using default date and time values to trigger the condition.
So I cloned your form, make changes to it and then I showed the date and time fields to test them. I believe I got what you're trying to achieve.
Here's the cloned form: You can clone this form back by following this guide.
Please test this form by filling the date and time fields manually to see it in action.
Here's my test:
Like I've said, I showed the date and time field for testing purposes but you can hide them in your version by going to its properties > Advaced> Hide Field. Then enable the default date/time like what you did in your version to trigger the conditions automatically base on the user's time zone.
Hope this helps!