hilltoprunner
Forum Replies Created
-
Hello and before anything I’d like to say you’re completely right and I’m very sorry for the confusion and inconvenience. The initial request for the translated slug redirect was resolved so thank you.
Regarding the phone number snippet not working, it seems to have happen after the translated snippet previously mentioned was inserted that the issue began.
if possible, would you be able to provide a snippet with the same functionality as the one that can detect translated pages with the /es/ slug but target only one specific form with its id instead of all forminator forms? I’d like to give this a try and will report back as soon as possible.
Hi, after some testing, I am unable to get the form to correctly show the phone number as expected.
I feel I must say that I am on WordPress 6.6 and on the plugin version 1.34.0.Could this be the issue? It only works on one form, and no other. Even if I duplicate the form, the phone number PHP code does not work on any other form other than one.
I’ve found other bugs since I updated to 6.6 like fields not showing up in the correct place or responding to conditions correctly…
Could this be fixed in the version that will support WordPress 6.6? Thanks and I apologize for replying so late, I was testing a few things before getting back to you.
- This reply was modified 4 months ago by hilltoprunner.
I’d like to add that on the form that works correctly, once the autofilled phone number is added to the field, the country code is populated automatically.
On the form that doesn’t work, once the autofilled phone number is added the previously shown country code that is pre-populated with the flag disappears and will not show up no matter if I click on the flag. I must input the country code manually.
I am on the latest version of the plugin: Version 1.34.0
Edit: Additional information and spelling
- This reply was modified 4 months, 1 week ago by hilltoprunner.
- This reply was modified 4 months, 1 week ago by hilltoprunner.
Hi, so the above code works, thank you so much!
I am now running into another issue that seems to have occurred out of nowhere. I have another custom snippet in place made from a dev to validate the country code automatically. I created this support ticket almost a year ago.
The custom snippet for that is the following:
<?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') ) {
return;
}
?>
<script type="text/javascript">
jQuery( document ).ready( function($){
setTimeout(function() {
$('.forminator-custom-form').trigger('after.load.forminator');
}, 100);
$(document).on('after.load.forminator', function(e, form_id) {
$('.forminator-field--phone').each(function(index) {
$(this).on('blur', function(){
var phone_val = $(this).val();
if ( !phone_val.includes('+') ) {
var title = $('.iti__selected-flag').attr('title');
var code = title.split('+').pop();
$(this).val('+'+code+phone_val);
}
});
});
});
});
</script>
<?php
}The problem I’m encountering now is that the above snippet forces the country code validation on one of my forms but not another even though the form that is not working is a duplicate of the one that is working.
Any thoughts, please help as I am not sure why this broke now…
Thank you for the prompt response, I’ll schedule some time to try this out and get back to you as soon as possible.
All the best to the devs and the whole team,
Hello, and thank you for such an informative reply, I highly appreciate it.
As for the radio buttons issue:
- Thank you for that confirmation, I look forward to the fix in a future update.
As for the flag issue in 1.32 version:
– this is happening for you with the phone field set to “International” validation, right? Or “National” set to “United States”??
- I have it set to international validation correct.
– since you wnet through 1.31, 1.32 and 1.33 version – is it happening only in 1.32 for you??
- I’m afraid I didn’t test it version by version as it’s a live site and was just working on getting the version downgraded to fix the issue with the radio buttons causing the form to not work as intended. I’m sorry I couldn’t offer better feedback for this.
– do you have any kind of additional custom code (like some PHP or JS code) related to Forminator Forms on site?
- I have some PHP code created by the devs to help translated forms submit with when the agreement has been checked, allowing the form to be submitted when auto completing phone numbers and their country codes, and a custom redirect after form submission also created by the devs.
– what theme (and in what version) are you using?
- I’m using Divi version (version 4.26.0) with the Forminator shortcode.
As for automatic update:
- I apologize about this, after doing some more research, I found that the updates were being performed automatically every 24 hours via my cPanel. I’ve since fixed this and the plugin has remained on version 1.31.0. I’m sorry for my ignorance and blaming this on the plugin. That was not the case.
I look forward to hearing from you soon regarding any updates on the recent bugs found in the last update. All the best to you and the team and again, thanks for the clear response.
Thank you, you’re completely right! Just checked this morning and everything seems to be working as expected and overall page performance has increased.
Hi! Thank you! This works just as requested! Great work
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Help with shortcode alignmentThanks for your response, can you explain what “col 3” is? Sorry
I’ve tried adding the CSS to the Main Element in the Row Settings (I’m using Divi) and it doesn’t react.
I’d love your help with a custom snippet but is there a way where I can provide you my url in a safer way rather than posting on here?
Thanks
Thank you so much! This functionality was exactly what I was looking to achieve, but was unaware of the radio button option.
Understood, no worries – thank you
Yup thank you! I tested it and although it’s definitely possible with another design style, I much prefer the overall look of (material) rather than achieving the progress bar look.
Thank you for taking the time to help me out with this and for checking with the devs as well – a big thank you to them too.
P.S. would it be possible to remove the link to my page on my post? I can no longer edit it and would highly appreciate it if possible.
All the best,
YoelI understand and thank you for taking the time to check this
I believe the answer I was looking for was in your previous post, and please correct me if I’m wrong in my assumption…
It’s in the design style that I’ve used (material) that does not allow for the bars in between the numbers to be highlighted? If I were to change the design style, then this can be achieved, correct?
Thank you once again and I look forward to your response
Thanks for the prompt response as always
This is the form – it’s the order form on my site
I’ve looked through the appearance section but can’t seem to find it, i’d appreciate your help to achieve exactly what the above entails
Thank you
Forum: Plugins
In reply to: [Site Reviews] New Review VisibilityThank you! That was exactly what I was looking for
- This reply was modified 1 year, 3 months ago by hilltoprunner.