accessing info from cc in edit form

marklandry 22 Mar, 2013
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
Max_admin 24 Mar, 2013
Hi Mark,

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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.