fdcommunication
Forum Replies Created
-
Hello,
I sent the first email to [email protected] on February 19, 2024 at 10:06 a.m. from the address [email protected].
And I just sent a second one just now.
I imagine you’ve already checked your junk…Hello,
I just sent the message, thank you !
Good morning,
Thank you for your response, I use TranslatePress with automatic translation by Google enabled.
I used the Code Snippets plugin to insert your code, but unfortunately no difference. The default choice in the select is still not displayed.Here is you can see some screenshots below “UPDATE 15/02/2024” : https://docs.google.com/document/d/1PVDZalAAPoF0sVzw_xGZN33kUK5zxaGqS3iwYr4Nlhc/edit?usp=sharing
Hello,
Sorry for my response delay !
Here is the required information :
https://docs.google.com/document/d/1PVDZalAAPoF0sVzw_xGZN33kUK5zxaGqS3iwYr4Nlhc/edit?usp=sharingThere you will find a screenshot of the form in French, with the select field which works perfectly. And another screenshot of the form in English, with the choice selected by default which does not appear. As well as the export form.
In any case, the code given above doesn’t change anything at all, so the choice is quickly made ^^. What was it supposed to do? Force the recaptcha field to appear?
As I said, if in the future an update to Elementor or Forminator allowed better support for the “Improve Assets Loading” option that would be great. In the meantime, as you say, it will remain disabled.
Hello,
Thank your for the code, so I inserted it in Code Snippets plugin. And then I made test with and without AJAX :
- I enable “Improved Assets Loading” in Elementor settings, and “Prevent caching of pages containing forms” in Forminator settings. But disable AJAX.
- The problem of duplicate buttons in the form had therefore returned.
OR
- I enable “Improved Assets Loading” in Elementor settings, “Prevent caching of pages containing forms” and AJAX in Forminator settings.
- The problem of CAPTCHA had returned too.
Here is a doc with screenshots : https://docs.google.com/document/d/1PVDZalAAPoF0sVzw_xGZN33kUK5zxaGqS3iwYr4Nlhc/edit?usp=sharing
In the code should I replace “id” with the id of my form to make it work? Ideally I would prefer not to use AJAX because it creates latency in the appearance of the form. So maybe resolving the double button conflict with “Improve Asset Loading” would be a better option?
Hello,
I tried what you recommended but it couldn’t work, because as mentioned in my first message, if I disable AJAX, I have a duplicate button problem.
And I didn’t want to change Elementor’s printing method at the risk of losing performance, as mentioned by Elementor, for a simple Captcha…But I still managed to solve the problem and here is how I did it:
As recommended by you, I disabled all Elementor features in Settings, and disabled AJAX. The problem of double buttons or Captcha were gone. So I reactivated each optimization one by one, until I found the one that was causing the problem of double buttons. This is the “Improved resource loading” setting.So I’m going to leave it disabled until Elementor or yourself, Forminator, comes to fix the problem in a future update.
Thank you for your help and time.
Hello,
I had configured the V3, so I tried with the V2 Checkbox, but the problem persists.
You can test on this url : https://trip-a-velo.com/voyage-sur-mesure/.
Hello,
Here is the URL, but I delete Captcha field for the moment : https://trip-a-velo.com/nos-sejours-val-de-loire/3-jours/week-end-velo-en-famille-chateaux-de-la-loire-en-touraine/. You can click on “Demander une devis”.
And here is the export : https://docs.google.com/document/d/1PVDZalAAPoF0sVzw_xGZN33kUK5zxaGqS3iwYr4Nlhc/edit?usp=sharing.
It works ! Thank you very much.
Hello,
Thank you for your reply.
So I installed the code, and gave it a try.
But it didn’t work, my email showed me “acf_reference_du_circuit” for “hidden-2”. Do I need to change anything in the hidden field setting?
Currently the value is “Custom value” and the custom value is “acf_reference_du_circuit”.It works ! Thank you very much.
And thank you for being so reactive !
Have a good day.
Hello,
Thank you for your answer !
My ACF field is reference_du_circuit. So I put this code in Snippets plugin:
add_filter( 'forminator_field_hidden_field_value', function( $value, $saved_value, $field ){ if( ! empty( $field['default_value'] ) && 'custom_value' === $field['default_value'] && strpos( $value, 'reference_du_circuit' ) !== false ){ $field_keys = explode('reference_du_circuit', $value ); $post_id = false;//default is current post/page $value = get_field( $field_keys[1], $post_id ); } return $value; }, 10, 3 );
Then I add a hidden field {hidden-2} to my form. Select custom value and write reference_du_circuit in custom value field.
Unfortunately it doesn’t work :(.
In my submission form it is only written “Hidden” without the content of my acf field.
What can I do ?
Hello,
Version 1.94.0 and 1.95.0 continue to crash my Elementor websites… Come back to 1.93.0 for now.
Hello,
I used the “Default template” and it works ! Thank you a lot !
Have a nice day.