Display Address Form Field
Permalink
I have an "address" attribute called "address".
How do I go about displaying the attribute form field (to register a new user...so basically there is no user object at this point?)
I initially tried:
But this is just a regular text field...
Then I considered
But then I do not know what to set the $obj to...?
How do I go about displaying the attribute form field (to register a new user...so basically there is no user object at this point?)
I initially tried:
But this is just a regular text field...
Then I considered
$af = Loader::helper('form/attribute'); $af->setAttributeObject($obj); $af->display('address',true,true);
But then I do not know what to set the $obj to...?