Hi,
I have this calc field that performs calculations based upon two previous dorpdowns' choices and an amount to be typed in an imput field.
As the form simulates a calculator I want the calculations to be triggered after pressing the "save" button (which I changed its name for "calculate"). I don't want to do it with ajax because I need to oblige the user to go through the button so the form details are saved in my table.
The problem is that if I leave ajax calc on, then it calculates both with the button and when the field loses focus. But if I set ajax calc off, then it saves the form but does not display any result.
Additionaly, when the form is saved it shows a success message which once closed removes all form's data. And I don't want it. Supress success message option doesn't do anything. What can be done?
Thanks a lot!
I have this calc field that performs calculations based upon two previous dorpdowns' choices and an amount to be typed in an imput field.
As the form simulates a calculator I want the calculations to be triggered after pressing the "save" button (which I changed its name for "calculate"). I don't want to do it with ajax because I need to oblige the user to go through the button so the form details are saved in my table.
The problem is that if I leave ajax calc on, then it calculates both with the button and when the field loses focus. But if I set ajax calc off, then it saves the form but does not display any result.
Additionaly, when the form is saved it shows a success message which once closed removes all form's data. And I don't want it. Supress success message option doesn't do anything. What can be done?
Thanks a lot!