Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter matias1234

    (@matias1234)

    Hi! Here goes a screen record:

    https://ctrlv.tv/QyPs

    As you can see, I’ve tried 2 different sessions in Chrome and one in Safari. It′s only in one of the sessions in chrome that it works. I′ve tried being logged in and out of wordpress and it makes no difference.
    I′ve also tried different desktop and mobile devices with different browsers and issue is still random, but it mostly doesn’t work.
    In the video you can see that in all cases, if I quickly hit Continue (before 9 pops up), it does move forward.

    Thanks a lot!

    • This reply was modified 3 months ago by matias1234.
    Thread Starter matias1234

    (@matias1234)

    I have performed several tests and only on some occasions did it actually work, but there’s no clear pattern. I′ve tried Chrome, Safari, Samsung, and on both desktop and mobile devices. In most cases, it doesn’t work, though just at random times, it does work…
    At the moment, no fields are required to continue, so what I have noticed is that if I load the page and quickly hit continue, it goes to the next page. But if I wait for the number “9” to appear in the validation, it won′t. I have tried adjusting the timeout value but it′s still the same:

    setTimeout(function() { $(‘.forminator-custom-form’).trigger(‘after.load.forminator’); }, 2000);

    Thread Starter matias1234

    (@matias1234)

    Hi there! The solution you provided has been working perfectly!
    However, I am trying to create a paginated form with this validation but it just won′t go to the following page. Here is the form: https://www.whitecastle.com.ar/inscripcion2/

    I have tried removing the page break and it works well. Is there anything I′m missing?

    Thanks a lot!

    Thread Starter matias1234

    (@matias1234)

    Works perfect now! As expected!
    Thanks a lot for all your help!

    Thread Starter matias1234

    (@matias1234)

    Hi! Thanks very much for your reply. After performing several tests, the code is still not working on my existing Leads form. However, if I create a new Quiz with a new Leads form, it does work!

    Unfortunately, I can′t create a whole new quiz as it’d be time consuming as there’s no export or duplicate feature available for quizzes.

    Any idea why it’s not working for an existing Leads form? Is there anything I could do, like clearing any cached files?

    Thanks a lot!

    Thread Starter matias1234

    (@matias1234)

    Hi! Thanks for the reply. I understand what you′re saying but the snippet is not working for my Lead form.
    This is the URL with the lead form (beginning of the quiz): https://www.whitecastle.com.ar/nivel/test_adultos/

    This is my contact page where you can see a regular form where the snippet works as expected:
    https://www.whitecastle.com.ar/contacto

    Thanks very much

    Thread Starter matias1234

    (@matias1234)

    Hi! Thanks for the reply. I′m using a Phone field with international validation in all cases. In the forms, the code works as expected, but in the Leads form it does not.
    What I mentioned about the characters was a workaround I used before your solution and code were proposed – I′m not using that any longer.

    Thread Starter matias1234

    (@matias1234)

    Hi, thanks very much! Unfortunately, it′s not working for my Leads form in my quiz. The new code produces the same result as the previous one. I tried using the id number of the quiz and of the lead form, and both, but no combination seems to work. It does, however, create the desired effect for the regular forms.
    If there was anything that maybe modified in the code, I′d appreciate it.
    Here goes the code I′m using as a mu-plugin

    <?php
    add_action( 'wp_footer', 'wpmudev_phone_field_country_addition', 9999 );
    function wpmudev_phone_field_country_addition() {
    	global $post;
    	if ( is_a( $post, 'WP_Post' ) && ! has_shortcode( $post->post_content, 'forminator_form' ) && ! has_shortcode( $post->post_content, 'forminator_quiz' ) ) {
    		return;
    	}
    	?>
    	<script type="text/javascript">
    	jQuery( document ).ready(function($){
    		setTimeout(function() {
    			$('.forminator-custom-form').trigger('after.load.forminator');
    		}, 500);
    		$(document).on('after.load.forminator', function(e, form_id) {
    			if ( 'forminator-module-14958' == e.target.id || 'forminator-module-20081' == e.target.id || 'forminator-module-20186' == e.target.id || 'forminator-module-16955' == e.target.id || 'forminator-module-16956' == e.target.id) { // Please change 1889, 2960 to your form's ID.
    				$('.forminator-field--phone').each(function(index) {
    					var phone_ival = $(this).val();
    					if ( phone_ival == '+54' ) {
    						$(this).val( phone_ival + '9' );
    					}
    					$(this).on('input', function(){
    						var phone_val = $(this).val();
    						if ( phone_val.startsWith('+54') ) {
    							phone_val = phone_val.replace(/\s/g, '');
    							var title = $('.iti__selected-flag').attr('title');
    							var code = title.split('+').pop();
    							phone_val = phone_val.replace('+'+code+'9', '');
    							phone_val = phone_val.replace('+'+code, '');
    							$(this).val('+'+code+'9'+phone_val);
    						}
    					});
    				});
    			}
    		});
    	});
    	</script>
    	<?php
    }

    The first three are forms (14958, 20081 and 20186 and are working OK. 16956 is the lead form of the quiz, and 16955 is the quiz per se)
    Thanks very much!

    Thread Starter matias1234

    (@matias1234)

    Hi! I found the field that was causing the issue: Select. Apparently, if this field wants to be passed onto Hubspot the integration fails. As soon as I removed it, I got:
    Successfully send data to HubSpot.
    I guess this is a bug, right? I can do without this field or I will change the type, but I′m leaving this in case anyone finds it useful.

    Thread Starter matias1234

    (@matias1234)

    As an update, I managed to do the above, with the following code provided in another thread, but it’s not working for a Leads Form in a quiz. That is, it works for all Forminator Forms but it doesn’t work with Leads From in a quiz. I tried both adding the ID of the quiz and of the Leads Form. Am I missing anything?

    if ( e.target.id == 'forminator-module-6'|| e.target.id == ‘forminator-module-7’ || e.target.id == ‘forminator-module-8’ ) {

    Thread Starter matias1234

    (@matias1234)

    Hi there, thanks very much! It works just as I expected it! I appreciate it!
    How can I apply this to more than one form, or to all forms if it′s easier? I have created different mu-plugins with different “forminator-module-” numbers but the site crashes if I add more than one.
    Thanks a lot!

    Thread Starter matias1234

    (@matias1234)

    Ok, thanks very much!!

    Thread Starter matias1234

    (@matias1234)

    Hi, thanks very much!
    -Adding a list to the integration didn′t help.
    – I have enabled debugging mode:
    -No further info in Forminator -> Submissions (keeps saying Failed to process request : Property values were not valid)
    -Here go all lines related to forminator of two different submissions (no mention of Hubspot, though):

    [06-May-2024 12:19:46 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets::$serviceName is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 62
    [06-May-2024 12:19:46 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_SheetProperties::$gridProperties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4326
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_UpdateSheetPropertiesRequest::$properties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 5171
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_Request::$updateSheetProperties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4020
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest::$requests is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1024
    [06-May-2024 12:19:47 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_RowData::$values is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4165
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_AppendCellsRequest::$rows is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 684
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_Request::$appendCells is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 3732
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets::$serviceName is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 62
    [06-May-2024 12:19:48 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:26:56 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets::$serviceName is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 62
    [06-May-2024 12:26:56 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_SheetProperties::$gridProperties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4326
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_UpdateSheetPropertiesRequest::$properties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 5171
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_Request::$updateSheetProperties is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4020
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_BatchUpdateSpreadsheetRequest::$requests is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1024
    [06-May-2024 12:26:57 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_CellData::$userEnteredValue is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 1390
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_RowData::$values is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 4165
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_AppendCellsRequest::$rows is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 684
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets_Request::$appendCells is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 3732
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Creation of dynamic property Forminator_Google_Service_Sheets::$serviceName is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Service/Sheets.php on line 62
    [06-May-2024 12:26:58 UTC] PHP Deprecated:  Calling get_class() without arguments is deprecated in /home/whitecb4/public_html/wp-content/plugins/forminator/addons/pro/googlesheet/lib/external/Google/Http/REST.php on line 42

    Thanks!

    • This reply was modified 6 months, 2 weeks ago by matias1234.
    Thread Starter matias1234

    (@matias1234)

    Hi! Sure, here it is: https://snipboard.io/Dya40r.jpg
    I have done several tests, and the only way it seems to work is if I use Hubspot contact properties as Labels in my Forminator form (firstname instead of Nombre; lastname instead of Apellido; date_of_birth, etc). However, these are visible in my form and I suspect the information is passing to Hubspot through some kind of automatic parsing but not through the mapped fields in the integration Forminator-Hubspot.
    I have created a new form, disabled and enabled the integration, set up the connections again, I have imported the previous form I exported before, but nothing seems to work, only the email address is passing…
    Thanks!

    Thread Starter matias1234

    (@matias1234)

    Hi! Thanks for the reply. I have reconfigured Hubspot plugin, the integration and have mapped the fields again but it′s still happening. It seems like it′s not recognizing the mapping, because I get the following error message:
    https://pasteboard.co/i091ganB73rw.png
    And Forminator submission keeps saying
    Sent to Hubspot:
    Failed to process request : Property values were not valid.

    The only field that′s being recognised is the email address. In some other forms I have if the field name is in English (Phone, Phone number, etc) connection works fine, but if the label is in Spanish (as it is in the form I shared with you, it does not).

    Hope you can help me.
    Thanks!

Viewing 15 replies - 1 through 15 (of 21 total)