padi1111
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Hi @pierre_02,
Here is my solution because of the last update :
var dataUID = $('#forminator-module-${id}').attr("data-uid"); var name = '#forminator-module-${id} #forminator-field-text-1_${dataUID}';Hope this will help you
- This reply was modified 3 years, 8 months ago by padi1111.
- This reply was modified 3 years, 8 months ago by padi1111.
- This reply was modified 3 years, 8 months ago by padi1111.
- This reply was modified 3 years, 8 months ago by padi1111.
- This reply was modified 3 years, 8 months ago by padi1111.
- This reply was modified 3 years, 8 months ago by padi1111.
I realy feel like a dumdum ^^
now it works !
Thank you very much for all your help !!!
Nice ! That’s exactly what i’m looking for.
Only problem now is that I can get anything to execute inside$(document).on("after.load.forminator", function (e, id)… =(
I did a simple test.php page in mu-plugins that looks like that :<?php add_action( 'wp_footer', function(){ ?> <script> (function ($) { alert("1"); $(function () { alert("2"); $(document).on("after.load.forminator", function (e, id) { alert("3"); jQuery('#forminator-module-2284 #forminator-field-text-1').prop("disabled", true ); }); }); })(jQuery); </script> <?php }, 21); ?>I’ve got the “1” and “2” alert but can’t get to the “3”. I can’t find why
Ok great news !
But this function is for on submit.
What I am looking for is too check a field in live, not on submit.Can we do that ?
Is there any documentation on these functions ?Thx
Viewing 4 replies - 1 through 4 (of 4 total)