- bakingfreshAsked on June 22, 2015 at 04:51 PM
I want to have a date picker on my order form that is pre-set in the future and that can not be changed by the user.
(This calender/date picker on my form is going to be used to show the customer which date there product is going to be delivered, which is always 2 days after they they place there order.)
When a customer places an order using my jotform form, I want the calender/date picker to display at date that is 2 days in the future. So for example, today is the 22nd of june, if someone user my form today, they calender/date picker will show the "24th June 2015".
So it will read:
Your first box will be delivered on...
*date picker goes here and will always show the date that is 2 days in the future.*
- JotForm SupportBDAVIDAnswered on June 22, 2015 at 08:10 PM
Please follow this steps:
1) Add two Date-Time fields:
2) On one of them, click on the gear Icon and Hide it.
3) Click on the Default Date button above and set it to Current.
4) Click on Conditions, and select Update a Form Field Value:
5) Create a condition like this:
It will show the date two days ahead of the current date:
Here is my demo form: http://form.jotform.co/form/51656963667875
You can clone it in your account to inspect it further: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps, let us know if you have more questions, we will be glad to assist you.
- bakingfreshAnswered on June 23, 2015 at 07:18 AM
Thank for this
The only issue I am having it with now I want to set it up so it's "read only". I have been on settings, properties setting and changed it too "read only" but when I select this the "Conditions" I have set up above stop working.
- BorisAnswered on June 23, 2015 at 09:18 AM
Stephen, I believe that the problem is in how you've set up the condition. I can see that the condition is written If this field is empty. I have just added a rule:
If the field is empty, OR if the field is filled, and then set up the Read Only property.
(Use the Add New Rule button at the bottom left.)
You can see it in action, here: http://form.jotformpro.com/form/51733981483968
Please let us know if you need further assistance.