I have created a forms in English and then duplicated it and then translated the labels in French. The forms are then placed in a PHP template.
Each page has its text being swapped out based on the language of the page. The forms are displayed using the following code:
<?php if ( $lang->display == "en" ) { gravity_form( 3, false, false, false, '', false ); // English form } else { gravity_form( 8, false, false, false, '', false ); // French form } ?>For some reason forms that appear on the French version do not work. The data is not submitted and there appears to be no error generated. The page just refreshes and clears the form.
All form work on the English pages, but not on the French pages. In theory the pages have all the same content just different text.
Examples on a testing site are:
https://www.sagenow.ca/our-services/group-programs/
https://www.sagenow.ca/fr/nos-services/programme-de-groupe/
https://www.sagenow.ca/book-appointment/?type=face-to-face
https://www.sagenow.ca/fr/prenez-rendez-vous/?type=face-to-face
Any idea what is different on the French page from the English version that is not allowing the forms to work properly?