Hi @jdowns1
I hope you are doing well today.
If I get this right your goal is to allow pick up in a maximum 14 days range, for example I can choose 2 days or 11 days.
To achive this you need to setup dates field this way:
DATE 1 field: limits -> Start Date – Today / offset 0 days
DATE 2 field: limits -> Start Date – DATE 1 / offset 0 days // End Date – DATE 1 / offset 14 days
Kind Regards,
Kris
No, a minimum of 14 days. I believe I have it set up correctly, that’s not my question. Can you re-read my post and review the screenshots I provided?
Hello @jdowns1
Hope you’re doing well today!
I read your main query once again and from what I see the main issue you are facing is
but the end date calendar actually lets me pick the day before (+13 days)
Am I understanding this correctly?
I tested the limits and offsets on my lab site and could not replicate the issue on my lab site. I set the Start date to be Today / offset 0 days and the end date limit as per the screenshot here https://monosnap.com/file/z7Y8zwdrXHQWjFpv4rndDI7hQ251EO
Here is how the form works when I select 1st Dec as the start date: https://monosnap.com/file/EFxFVJ53motlQRQE30hohk1Z2m1tV8
Could you please confirm if you’ve configured it the same way? If so, Ideally you should not be able to select a date that will be 13 days from the start date.
Since I am unable to replicate the issue on my lab site with a fresh Forminator form, could you please share your form export to us? We will import it on our lab environment and check if the issue is related to a specific form.
To share the form export
– Navigate to the “Forminator -> Forms” page in your site’s back-end
– click on a little “gear” icon next to the form in question
– select “Export” option
– copy given export code and paste it at https://pastebin.com
– include link to that paste in your response below.
Note: this export will not include any data that is already submitted – they’ll stay safely on your site and we don’t need them anyway.
Kind Regards,
Saurabh
Yes, you understand correctly. I’m not seeing the same behavior you are, I’m able to select Dec 14 as my end date, which gives an error if I select it. Here is my form: https://pastebin.com/KPvcx2gh
Hi @jdowns1,
I also could not replicate the issue on my test site as well after importing your form. It is not allowing me to select Dec 14 if the first date is Dec 1.
https://prnt.sc/QA80zViqlmXy
Please let us know if we misunderstand the replication steps.
Kind regards,
Zafer
Those are the correct steps. Odd, I’m able to select Dec 14 with the same form. It must be a system setting difference between our installs I guess. I tried setting my time zone to UTC and also changed my start day of the week to Monday to match yours but that didn’t make a difference.
Any suggestions on what to look at on my end to find the discrepancy?
Hi @jdowns1 ,
I hope you’re doing well.
In this case, keeping in mind that our test labs are usually using a default theme and only the plugin that we are testing, apart from a difference in the system, we could need to confirm if it is maybe related to a conflict.
Could you please run a conflict test? This can be done by deactivating all plugins and setting a default theme, then trying to replicate the issue (submit the form), in case the issue is solved after doing that, please start enabling one by one the other plugins and setting your current theme, testing the behavior after each activation until you are able to replicate it again.
It is recommended to do it on Staging which means a copy of your site with a separated database to not affect your live site, you can also create a backup before starting in case you want to do it on your live site anyway.
Please let us know how this test goes.
I hope to hear back from you soon.
Best regards,
Williams Valerio
Hi @jdowns1,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.
Regards,
Nithin