ipisman
Forum Replies Created
-
If you follow step will see the issue, very thanks.
This two functions have any associate?
https://hookr.io/functions/ninja_forms_field_calc_edit/
#################################################
ninja_forms_field_calc_edit( $field_id, $data );
/includes/fields/calc.php
#################################################
https://hookr.io/plugins/ninja-forms/2.9.33/functions/ninja_forms_field_submit_display/
#################################################
ninja_forms_field_submit_display( $field_id, $data, $form_id = ” );
/includes/fields/submit.php
#################################################Hi aprilmullen,
OK~I’ve opened new thread, thank you for your suggestion.
The Topic title is “No submission at all, form submission data blank!!”.
https://www.ads-software.com/support/topic/no-submission-at-all-form-submission-data-blank?replies=3#post-8110181Let’s step by step:
———————————————————————————————————————–
Forms->All Forms->Edit any form (or Add New one)(1) In “Build Your Form” column
1.Create 2 “List” and 1 “Calculation” and 1 “Submit” fields2.Defined 2 “List”
Example:
1th “List” “Field ID:125”
Label: 10cm、Value: 10cm、Calc: 1
Label: 20cm、Value: 20cm、Calc: 2
2th “List” “Field ID:126”
Label: 30cm、Value: 30cm、Calc: 3
Label: 40cm、Value: 40cm、Calc: 43.Defined 1 “Calculation”
choose “Calculation Method”->”Use An Equation (Advanced)
Advanced Equation (add below content)
=============Begin=======================
(function(){
if(field_125*field_126==3) return 100;
if(field_125*field_126==4) return 200;
if(field_125*field_126==6) return 300;
if(field_125*field_126==8) return 400;
if(field_125*field_126==0) return 0;
})();
==============End========================(2) In “Email & Actions” column
1.Add New
Action Name => Test
Type => Success Message
Message => click “Insert All Fields” (Then Message content will add => [ninja_forms_all_fields])(3) In “Settings” column
1.Open “Display”
Just checked “Submit via AJAX (without page reload)?”,another don’t checked.If (1),(2),(3) ready, click “Preview”
You will see “calc_name” can calculate correct value.
But when you click “Submit” button, you can not get correct value.Important thing:
In “Email & Actions” column, “Type” have 3 options (Email、Redirect、Success Message),
I choose “Success Message”, not choose “Email”.
It’s not “Email” issue.
———————————————————————————————————————–Maybe more and more user will having this issue.
It’s not working until now.
Hope someone can resolve it.If you follow step will see the issue, very thanks.
This two functions have any associate?
https://hookr.io/functions/ninja_forms_field_calc_edit/
#################################################
ninja_forms_field_calc_edit( $field_id, $data );
/includes/fields/calc.php
#################################################
https://hookr.io/plugins/ninja-forms/2.9.33/functions/ninja_forms_field_submit_display/
#################################################
ninja_forms_field_submit_display( $field_id, $data, $form_id = ” );
/includes/fields/submit.php
#################################################Very appreciate your kindly support again.
Here is Ninja support reply.
##########################################################################
Unfortunately we are unable to troubleshoot complex calculations. Can you reproduce this error on a smaller scale?
##########################################################################Hi guys,
Have anyone good suggestion?
Here is my reply.
#########################################################################################################################
Hi Devin,Very thank you for your reply.
But my question is “Actions not working” (Can not get correct value after click “Submit” button)Let’s step by step:
———————————————————————————————————————–
Forms->All Forms->Edit any form (or Add New one)(1) In “Build Your Form” column
1.Create 2 “List” and 1 “Calculation” and 1 “Submit” fields2.Defined 2 “List”
Example:
1th “List” “Field ID:125”
Label: 10cm、Value: 10cm、Calc: 1
Label: 20cm、Value: 20cm、Calc: 2
2th “List” “Field ID:126”
Label: 30cm、Value: 30cm、Calc: 3
Label: 40cm、Value: 40cm、Calc: 43.Defined 1 “Calculation”
choose “Calculation Method”->”Use An Equation (Advanced)
Advanced Equation (add below content)
=============Begin=======================
(function(){
if(field_125*field_126==3) return 100;
if(field_125*field_126==4) return 200;
if(field_125*field_126==6) return 300;
if(field_125*field_126==8) return 400;
if(field_125*field_126==0) return 0;
})();
==============End========================(2) In “Email & Actions” column
1.Add New
Action Name => Test
Type => Success Message
Message => click “Insert All Fields” (Then Message content will add => [ninja_forms_all_fields])(3) In “Settings” column
1.Open “Display”
Just checked “Submit via AJAX (without page reload)?”,another don’t checked.If (1),(2),(3) ready, click “Preview”
You will see “calc_name” can calculate correct value.
But when you click “Submit” button, you can not get correct value.Important thing:
In “Email & Actions” column, “Type” have 3 options (Email、Redirect、Success Message),
I choose “Success Message”, not choose “Email”.
It’s not “Email” issue.
———————————————————————————————————————–Very appreciate your kindly support.
#########################################################################################################################Thank you very much “damark09”.
Hi all:
The Ninja support (Devin Balram) has replied to me at FEB 27, 2016 | 04:17PM EST.
But maybe he confuse my question.
I’ll continue reply to him.Below is replied content:
======================================================================
We’re sorry to hear you’re having email issues. Please check out our troubleshooting documentation here: https://docs.ninjaforms.com/customer/portal/articles/2045713-troubleshooting-ninja-forms?b_id=9172#ts_emailUnfortunately, Ninja Forms is not responsible for sending the emails. We pass the data onto your local WordPress → PHP installation, which is usually managed by your webhost. If you are still having issues after following the documentation above, it may be worth reaching out to your webhost to ensure your hosting plan provides email support and that there are no restrictions on it such as email address you must send from, a limit on emails per hour, and more. Please also be aware per the documentation above that many email hosts will reject emails sent “To” and “From” the same address, so please make sure that you are using different email addresses in your “To” and “From” fields in your notifications.
The most common issue we see with sending emails is setting the form submitters email address as the “From” address, which breaks the hosting rules mentioned above. In these use cases, it’s best to leave the “From” field blank or use your admin email address, and use the “Reply-To” field to hold the form submitters email address instead.
You might also try a service like Mandrill to manage email through them instead of through your host. A guide for setting up Mandrill can be found here: Increasing Email Reliability with Mandrill https://docs.ninjaforms.com/customer/portal/articles/2045713-troubleshooting-ninja-forms?b_id=9172#ts_mandrill
======================================================================Hi IcIoer,
I just fill form in “https://ninjaforms.com/contact/“
You can also file this form.If you got the answer, please share to us, either am I.
Hi respectyoda,
Would you mind help look this issue?
Thank you very much.https://www.ads-software.com/support/topic/email-actions-not-working-1?replies=5#post-8084343
Title is “Email & Actions not working”Maybe more and more user will having this issue.
It’s not working until now.
Hope someone can resolve it.Hi all,
I’d met the same issue.
I am using wordpress 4.4.2 and Ninja 2.9.33.
Before 20160206 it’s working in my “submissions” log view.
After that, it’s strange, not working anymore.Just like “apoorvniit” said, I’ve tried with/without Ajax, although page can calculate result, but “submit” button can not get value correct.
You can try this:
Add 2 “template fields” first, get field_XX;
Then add “Calculation” template fields -> “Advanced Equation”, simple add:
——————————————————————–
(function(){
if(field_XX*field_XX<=10) return 100;
if(field_XX*field_XX>=20) return 200;
})();
——————————————————————–You will know, what I say.