Hello, I've using additional validation and I ask myself if it would be possible to change to the value of a field or add a calculation. Something like this:
$form_values['submitted_tree']['test2'] = 4*$form_values['submitted_tree']['test1'];
I've tried it but is not working, any ideas? Thanks!
Comments
Comment #1
quicksketchYou must change the value in $form_values['submitted'], not $form_values['submitted_tree'] to affect the data that is saved in the database. I know it's less than ideal but it's currently the way things work.
Comment #2
quicksketch