pastvne
Bruce Decker
I have a CDD that watches a form element {table1___choice}
I want to use the current value in the form within eval code within the CDD advanced tab. However, I am having a difficult time accessing the value. It seems to always return the value that was loaded at the time the record was edited, not the current selected value:
I've tried:
$value = '{table1___choice}'
$value = $data['table1___choice']
and I've tried $formData and even the getElement method from the jFACTORY class.
I can get a calc element to properly return the value but I can't seem to reference the calc element's value.
So, what is the best way within a CDD eval php to reference the current selected value of it's watch element (or any current form value for that matter).
Thanks,
Bruce
I want to use the current value in the form within eval code within the CDD advanced tab. However, I am having a difficult time accessing the value. It seems to always return the value that was loaded at the time the record was edited, not the current selected value:
I've tried:
$value = '{table1___choice}'
$value = $data['table1___choice']
and I've tried $formData and even the getElement method from the jFACTORY class.
I can get a calc element to properly return the value but I can't seem to reference the calc element's value.
So, what is the best way within a CDD eval php to reference the current selected value of it's watch element (or any current form value for that matter).
Thanks,
Bruce