• Resolved dba83

    (@dba83)


    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

    https://file.io/WaVKslO0StFb

Viewing 15 replies - 46 through 60 (of 82 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @dba83

    Hope you’re doing well today!

    I tried to match the exact environment and setup that you’ve shared, but still could not replicate the issue at my end when the form was imported to my lab site. Additionally, I also tested with my team on my lab site and it worked as expected redirecting them to the Taurus page.

    Please refer to the screen recording https://monosnap.com/file/dv5peJMpYZV9NvGzpyN4uVXw3S6oJY

    It is possible that this could be some cache stuck, like DNS cache or local browser cache. In this case could you please test the form once on a different device (eg. a mobile phone) which is connected to a different network or maybe some external hotspot to see if that works fine?

    Please let us know how it goes.

    Kind Regards,
    Saurabh

    Thread Starter dba83

    (@dba83)

    Hi Saurabh,
    thanks for your quick reply.
    I have done what you said : Select date of birth 22 march 1938 on my “Edge” browser instead of my default “Firefox” browser ( laptop computer) , and also on my smartphone galaxy : same behavior : no submit page and displayed : “form entry saved”
    please look at the smartphone screenshots , also i have exporter a second time my form ( not modifyed but in case of the export was not correct ) :

    https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing

    I really don’t know what to do now…

    BR
    Dominique

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dba83

    Could you please test via https://dev-dev-plugins-debug.pantheonsite.io/form-test/

    Can you also share a video from your browser console and admin-ajax response?

    https://monosnap.com/file/WBNeKLKifbriVRswKEBp7PopDloaJN

    Best Regards
    Patrick Freitas

    Thread Starter dba83

    (@dba83)

    Hi Patrick,

    I confirm you that when i select date of birth : 22 march 1938 on your link : https://dev-dev-plugins-debug.pantheonsite.io/form-test/

    It’s working fine ! (the submit goes to the Taurus page)

    Can-you explain why my config. don’t works ? , have-you modifyed some setup on the form ?

    Please look at my video : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing

    BR

    Dominique

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dba83

    No modifications were made, what I did was just import the form from the shared Google drive and import it to the site.

    But that indicates that the issue is related to your site ( possibly a plugin conflict or any WP Setting )

    Can you try to disable all plugins and switch to the default WordPress theme and see if makes any difference?

    Make sure to disable any mu-plugin as well.

    Finally, please share a screenshot from your WordPress > Settings so we configure our installation like yours in terms of language and date settings.

    Best Regards
    Patrick Freitas

    Thread Starter dba83

    (@dba83)

    Hi Patrick, i have deactivated all plugins except forminator, ( i cannot deactivate the wp-plugin using the PHP code you have sent to me because in this case , the four date of birth : 9/10/39 , 21/5/58 , 29/12/76 and 11/8/95 does’nt work : the submit is Belier instead of Taureau)

    So the problem is the same : no submit when date of birth is 22 march 1938 ( it display “Form entry saved” )

    I think it is working on your side because you have deactivated the wp-plugin : if i deactivate this plugin , date of birth 22 march 1938 is OK

    BR

    Dominique

    • This reply was modified 6 months, 2 weeks ago by dba83.
    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @dba83

    I ran some tests using your form export provided in the previous replies and also added the code snippet we shared earlier but I can’t replicate the issue, Maybe you made some changes to the form conditions or settings that caused the issue.

    We would like to take a closer look at the form, so please export the form and share it again using a free online storage service such as Google Drive.
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    Kind Regards,
    Amin

    Thread Starter dba83

    (@dba83)

    Hi Amin,
    thanks for you reply.
    I don’t understand why you don’t see the issue , i have attached the upload of my form here : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing

    I confirm-you that if you are using the file “__php.php” ( attached) on the directory “mu-plugins” ( see the filezilla screenshot) and having put the right form ID on the PHP code as indicated , the date of birth of 22 march 1938 display ” Form entry saved” without submit

    BR
    Dominique

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dba83

    Could you email us at [email protected] with this specific subject ATTN: WPMU DEV support – wp.org and share the ticket URL in the body email?

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dba83

    Thank you for the email,

    We escalated your issue to our second line support to check why it is not working for you, we will keep you posted.

    Best Regards
    Patrick Freitas

    Thread Starter dba83

    (@dba83)

    Hi Patrick,

    thank you especially to you too !

    BR

    Dominique

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dba83

    Can you please try your form now?

    Seems the previously provided code conflicted with the updated form, we commented on the lines:

    // add_action( 'forminator_form_before_handle_submit', 'wpmudev_date_condition_fix', 10, 1 );
    // add_action( 'forminator_form_before_save_entry', 'wpmudev_date_condition_fix', 10, 1 );

    To disable it temporarily.

    Best Regards
    Patrick Freitas

    Thread Starter dba83

    (@dba83)

    Hi Patrick, now everything seems to be ok on the staging , thank-you !

    What are the updates ? ( i see on the ftp mu-plugin directory that you have added the file “wp-staging-optimizer.php” , do i need to add this php file on my live site?

    BR

    Dominique

    Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @dba83,

    I hope you are doing well today!

    What are the updates ? ( i see on the ftp mu-plugin directory that you have added the file “wp-staging-optimizer.php” , do i need to add this php file on my live site?

    This is correct. It would be better to make sure you have the latest backups for your live site to be on the safe side as much as possible.

    Kind regards,
    Zafer

    Thread Starter dba83

    (@dba83)

    Hi Zafer, yes i’m doing well , hope you too

    In fact when i lauch on the live site , its submitting to the Belier page instead of Taureau page on the following date of birth :

    9 october 1939

    21 may 1958

    29 decembrer 1976

    11 august 1995

    Possible that the file “wp-staging-optimizer.php” is optimized only on the staging site ?

    how can i update this source code to adapt my the live site ?

    BR

    Dominique

Viewing 15 replies - 46 through 60 (of 82 total)
  • You must be logged in to reply to this topic.