Can I auto-populate custom fields ?

In order to auto-populate a custom field defined for your membership subscription form you will need a custom script in the Values property of the field, for example:

$db =& JFactory::getDBO();
$db->setQuery("SELECT your_value FROM your_table");
$result = $db->loadResult();
return $result;

Was this article helpful?

Yes No
Sorry about that

You Should Also Read

How can I set a country selected by default in the Country field?

Create membership custom fields