How to pass a variable to a form?

hdouglas

Member
I am looking for a way to pass an initial variable to a form so that it can be picked up by various CALC elements within the form. I can do this by adding something to the URL but was hoping for something a little more secure. Any ideas or suggestions?

Specifically I am looking to pass a single Integer which feeds a number of lookups within the form.
 
With element's Default (eval) (for new records) or a php form plugin (onLoad) you can fetch data from somewhere else.
 
Many thanks, PHP form Plugin onLoad
and used:
$formModel->data['full_element_name']=$requiredValue;
$formModel->data['full_elemenbt_name_raw']=$requiredValue;

Which solves problem, thank you.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top