Forminator date range selection
-
Hi,
i’m facing to a problem using a Forminator form (rev 1.31.0) on wordpress rev 6.5.5
The form created is about two range of date of birth :
The date format is set to : d/m/y
The form is using two range of date of birth : the “RANGE1” is between 10/10/1939 and 27/04/1941 ( included) , and the “RANGE2” is between 22/03/1938 and 09/10/1939 ( included)
I have created two behavior in this form , so when the operator set a birth date within the RANGE1, the submit goes to RANGE1 page , and when when the operator set a birth date within the RANGE2, the submit goes to RANGE2 page.
My problem is when i set the date to 10/10/1939 , the submit goes to the “RANGE2” page instead of “RANGE1” page
Can-you help me if my form program is wrong or something else ?
Please look at my form exported named “Forminator_Test dates de naissances.txt”
Thanks by advance
BR Dominique
-
Hi Nithin,
As you say that in your side the selection range is OK , can-you send to me your form export in order to compare your settings and my settings ?
BR
Dominique
Hi @dba83
We are using the same form we shared before with you https://pastebin.com/n8p2g4DW
I also imported it once again to my site and tested the 02/09/1936 and it redirects to range 3
Best Regards
Patrick FreitasHi Patrick,
thanks for your reply.
I have installed your form.
When checking your form setup , I think i have found an error on my form when submitting range2 : i have set the behavior condition range2 to “Any” instead of “All” . So now on my form the 2 september 1936 submit to range3 : OK
However i have found a little problem on your form on the lower limit dates for range 1 & range 2 : when i select 21 march 1938 or 9 october 1939 :
When 9 october 1939 , the form display range1 and range2 and the submit display “Form saved”
When 21 march 1938 , the form display range2 and range3 and the submit display “Form saved”
See the screenshots : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing
BR
Dominique
Hello Dominique,
Thank you for the feedback!
However i have found a little problem on your form on the lower limit dates for range 1 & range 2
I’ve replicated the issue, and reported it to the developers for further troubleshooting.
In the meantime, could you please check, if the following helps:
Change “9 October 1939” date in visibility rules for the Range2 field, and press “Apply“:
https://prnt.sc/ElhvD8fh9jrGChange it back to “9 October 1939“.
Repeat the same steps with “March 21 1938” date for the Range3 field.
Press “Update” at the top to save changes, and test the form by selecting these dates again.
Best Regards,
DmytroHello Dominique,
After further testing, our techs were able to replicate the issue with your original form, and the form we’ve sent you recently, which was also based on your original form. But we couldn’t reproduce that on a new form, with the same visibility rules.
It looks like there was some issue with the date field options in your original form, as if the options were not fully updated for some reason. In case you notice a similar issue with your current form, please try changing the visibility rules, and re-saving the form as explained in my previous reply.
I hope this helps. Please let us know if there’s still any issue.
Best Regards,
DmytroHi Dmytro,
in this case i’m going to create from scratch a new form with the same visibility rules as your
I’ll keep-you informed
BR
Dominique
Hi,
i have created e new form from scratch ( after removing the forminator plugin, then re-install this plugin and create the new form ” date de naissance“
This is my live application which give information of astrology concept : there are 12 astrological sign and i submit one of 12 page when the date of birth is within 4 range / sign
In my new form , i have only created the two first sign (Aries and Taurus) and the date of birth range are the following :
4x birth range date for aries ( included) :
R1 : 12 august 1995 -> 27 february 1997
R2 : 30 december 1976 -> 19 july 1978
R3 : 22 may 1958 -> 8 december 1959
R4 : 10 october 1939 -> 27 avril 1941
4x birth range date for taurus ( included) :
R5: 22 january 1994 -> 11 august 1995
R6 : 13 june 1975 -> 29 december 1976
R7 : 5 november 1956 -> 21 may 1958
R8 : 22 march 1938 -> 9 october 1939
When i launch my site ( https://astro-dom.ovh/ ) , everything is OK except the following :
When i enter the date of birth 11 august 1995 or 29 december 1976 or 21 may 1958 or 9 october 1939
the submit goes to the Aries page instead of Taurus page.
I dont understand why
please download my form here : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing
BR
Dominique
Hello @dba83
Hope you’re doing well today!
I was able to import the form and test it on my lab site and tested the behaviour for the date you mentioned and it was working fine. Please refer to the screen recording below
https://monosnap.com/file/tzFvF9jl3bEfyhSU8snFfofWdWBpKQHowever, I did replicate the submit redirecting to the Aries page instead of Taurus only for the case where the Snippet we shared here https://ww.wp.xz.cn/support/topic/forminator-date-range-selection/page/2/#post-17944839 wasn’t added on my lab site.
Can you please confirm if you’ve updated the Snippet with the new form ID for the form that you created from scratch?
Awaiting your response.
Kind Regards,
SaurabhHi Saurabh,
thanks for your quick reply !
Yes , i have made a mistake : the form ID was not correct. Now it is working but not for the following date of birth :
21 may 1958 and 29 december 1976 : “your form is not valid“
otherwise the date of birth 11 august 1995 and 9 october 1939 are OK (Taurus page is submited )
Please look at the screenshots here : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=drive_link
BR
Dominique
Hi @dba83,
I hope you are doing well today!
Could you please try setting the date format to d/m/Y – ex: 29/12/1976 instead of m/d/Y and try again?
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#datepicker-fieldKind regards,
ZaferHi Zafer,
yes i doing well , i hope you too.
I have updated as you said ( d/m/Y) the date format and now everything is OK but except the date of 22 march 1938 which submit only displaying “form entry saved” instead of submit to Taurus page, see the screenshots : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=drive_link
I don’t know why ! , you can see the rang 8 visibility is correctly set ( “after 21 march 1938”)
BR
Dominique
Hello @dba83,
We hope things are going well for you.
We have checked <span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>the old form you shared previously; it was properly redirected to the Taurus page. Kindly re</span>view this video: https://monosnap.com/file/F9Mcaoetm3HpjzfqR56zuh1ZAsej7g.
If you are still experiencing the issue, will you please share the current form version exported file with us so we can review it for you?
–
Thanks & Kind Regards,
Imran KhanHi,
thanks for your reply and for your attention to my problem , it is a very strange behavior !
So i have exported my form on the TXT file “date de naissance.txt” and also a clip showing the submit ” form entry saved” when i select 22 march 1938 :
https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing
BR
Dominique
Hello @dba83,
I appreciate your quick response here.
This time, I checked another local site by importing the form, which works fine. I couldn’t replicate such an issue from my end. Kindly review the screen-recorded video: https://monosnap.com/file/KexTRbb8vwSQWLNnpwYtbPelfaHxCP.
The case is mostly probably related to the cache. Can you kindly enable the Load from Ajax mode as a form rendering method? This guide can help https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#rendering.
If the load from the Ajax feature doesn’t help, kindly share a few details with us.Forminator version :-
(In the exported form mentioned 1.34.1)
Browser version and name :-
OS version and name :-
PHP version of the site :-
WordPress version of the site :-
We will try to set up a similar environment to replicate the issue.
I am looking forward to hearing from you soon.
–
Thanks & Kind Regards,
Imran KhanHi Imran, same behavior when i enable the Load from Ajax mode ..
hereafter some details of my configuration :
Forminator version :- 1.35.0
Browser version and name :- Firefox 129.0.2
OS version and name :- windows 11
PHP version of the site :- 8.0.30
WordPress version of the site :- 6.1.1and please look at the forminator behavior setup on my two screenshots and also the “site info.txt” on the following link : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing
BR
Dominique
The topic ‘Forminator date range selection’ is closed to new replies.