lordcommander
Forum Replies Created
-
Hi Patrick,
I don’t suppose there’s any ETA as yet for a fix? I use this form for automated quotes from our website, and currently our prospective customers are receiving quotes with a whole bunch of $0’s…
Thanks
Thanks Adam, looks like your workaround did not work. I tested using both display:none and visibility:hidden. I also left them completely visible and they still parsed through 0.0 values.
Pastebin link: https://pastebin.com/an4p25YR
Password: N6PLyibYW9Nevermind, found the issue thanks.
Was something to do with special form fields.Hi Nithin,
I’m dumb founded. I’ve unpublished all forms, revoked all integrations and then re-published just the main and a secondary form, and integrated them into separate lists in ActiveCampaign, but still nothing.
The contacts don’t appear to be even getting pushed into AC now.
The only things I’m doing differently are:
1. Changed the form to redirect on the same tab instead of an inline message (as I need Google conversion tags to fire off based off different code tags on each landing page) – otherwise I would have just left it on the Inline Message option.And I updated the code provided to me earlier by your devs to prevent decimals in certain number fields. It previously just looked up form ID 54043, but I added in the remaining form IDs 54186, 54187, 54188. Removing these again did nothing. Even removing the whole code block didn’t do anything in terms of sending the form into active campaign.
Is there a way I can see API errors forminator receives?
// Force Forminator number fields to integer in mini uPBX quote form add_filter( 'forminator_cform_render_fields', function( $wrappers, $form_id ){ $form_ids = array( 54043, 54186, 54187, 54188 ); if ( ! in_array( $form_id, $form_ids ) ) { return $wrappers; } add_filter( 'forminator_field_number_markup', function( $html, $field_id ){ $list_field_ids = array('forminator-field-number-3', 'forminator-field-number-1', 'forminator-field-number-2', 'forminator-field-number-4'); if( in_array( $field_id, $list_field_ids ) ){ $html = str_replace('<input', '<input step="1"', $html); } return $html; }, 10, 2 ); return $wrappers; }, 20, 2 );
Thanks,
Chris- This reply was modified 4 years, 4 months ago by lordcommander.
Thanks Prathamesh, this works great!
I assume this covers every form, though?
Is there a way to make this only apply to one or more forms based on the form ID?Cheers for the quick replies and dev help!
Hi Nastia,
Apologies, but I might not have been clear in my OP.
I have enabled the progress bar, but it starts at a positive percentage (e.g 11% or 14% etc depending on how many questions are in the form) which looks weird.
Is there a way to start this at 0%, and then only start increasing in percentage once you click the next button?
Thanks!