Hi all,
I'm looking for a way to auto-populate the zip code pulled from the logged-in user's profile, and insert it into the zip code area of the search boxes. I've tried to edit the template directly which creates the Location fields by generating a string like:
$zipInfo = '<input type="text" name="zip" class="form_input_text form_input_zip" value="' . $profileCall['zip'] . '"' . ' />';
And outputting it as a custom HTML form element which is correct; however how do I obtain the Zip field from a users profile? What dependencies are required, and method for access? I see in other modules it's similar to $aProfileInfo['City'] for instance.
The file needed to edit this is BxDolProfileFields
Any help would be MUCH appreciated.