Hi,
How can I access info from CC/db from the edit form? Is there something similar to $form->data that can be accessed in the form itself?
ie, when the edit form is pulled up from CC, how would I, for example, access cf_uid?
Thanx!
Mark
How can I access info from CC/db from the edit form? Is there something similar to $form->data that can be accessed in the form itself?
ie, when the edit form is pulled up from CC, how would I, for example, access cf_uid?
Thanx!
Mark
Hi Mark,
Please try $form->data, that's supposed to work, if not then you may try this code in your form:
Which should print an array of all defined vars available for you in the current scope along with their values, you can then find which one is for the form!🙂
Regards,
Max
Please try $form->data, that's supposed to work, if not then you may try this code in your form:
<?php print_r2(get_defined_vars()); ?>
Which should print an array of all defined vars available for you in the current scope along with their values, you can then find which one is for the form!🙂
Regards,
Max
This topic is locked and no more replies can be posted.