Zeff Coronel
Forum Replies Created
-
Thanks @wpmudev-support8 Adam! It would be really helpful in future updates I really appreciate the effort you put into these plugins
Thank you so much! This worked as a charm! I really appreciate your time and attention. I gave you a 5-star rating, you deserve it. I will recommend this plugin to all my colleagues 🙂
I am having the same issue. If I use “AJAX” in the behaviour method, it works fine but it takes a while to redirect and it shows the form again so it can cause confusion to the user.
If I use “Page reload” it doesn’t show the form again (this is the best option) but the redirected url changes if it has “&” it changes to “#038;” so I can’t read the url parameters in the new page.
It seems that this was a bug long ago but that solution is not possible anymore: https://premium.wpmudev.org/forums/topic/url-redirect-on-forminator/
Hi Nastia! No worries, thank you so much for your patience and time 🙂
Hi Kasia, thanks for the reply!
Yes, I understand that I can use JS and PHP to be able to do that after submission but I was wondering how can I implement that for the email notification?
I just want to display a “category” based on a calculation, for example if the result is less than 25, in the email to display “You are in x category” and if the result is over 25, in the email to display “you are in y category”
I would appreciate it a lot if you have any suggestion
Thank you so much! I really appreciate the suggestion, it works for the submission message, but I also want to display this conditional text in the email notification.
I found this thread https://premium.wpmudev.org/forums/topic/forminator-pro-autofill-add-custom-field/
And I’m creating an mu plugin that looks like this:
<?php add_filter( 'forminator_field_hidden_field_value', function( $value, $saved_value, $fields, $obj ) { if ( '%value1%' === $value ) { $fields = Forminator_API::get_form_field( 'formid', 'calculation-8', true ); $value = $fields; } return $value; }, 99, 4 );I’m trying to give my hidden custom value, the value of a calculation so then I can assign the conditional text and then display in the submission message and email notification.
It’s not working because it’s an array and if I run it like that, it just displays “array” instead of the value (calculation-8)
Do you have any recommendation so I can successfully run this?
Thanks in advance
Thanks Nastia! I really appreciate it!
Thank you Nastia! I hope you’re doing well too 🙂
Have a good day!