I am currently evaluating Gravity Forms to see if it has the functionality that our business needs.
In general what I want is a Form that runs calculations based on user selections. So if a user selection Option A, with a room square footage of X, in City Y, I can run calculations as they make their changes to update values. We need the calculations to update as they make their selections and not after the form is submitted.
Is Gravity Forms the right tool for this task? It seemed like it at first but after trying it out I cannot figure out how to use the hooks to update values.
For my first test I want to update the value of an Administrative Field when a user changes their selection in a Drop Down, but I cannot figure out how to do this. I am fine writing custom PHP or Javascript code if need be, but I cannot seem to find the correct hooks.
I thought that something like the following would work (as a test) for the dropdown called region but my function never seems to get called:
Now, I don’t think this has anything to do with what you actually need to accomplish. Unless I am way off, I think you should forget about the gform_update_*property* filter, and we’ll go back to the original question.
Thanks for the reply and the clarification, you are absolutely correct. I was just confused by what was meant in the documentation by “Property Name”.
I ended up using JavaScript get change event and then update my calculations that way: