Registering Custom Field Address
-
Hi Greg, First of all, I want to thank you for the outstanding support you give! I have already left a 5 star review but wish I could leave another one!
My question is a bit complex, I have Predefined my Locations based on Local City Names, but need to also add an address field to the Help Wanted Form in order to comply with Job Posting Schema (requires an address field). I read the https://wpadverts.com/doc/custom-fields/ and reviewed default.php to see if there was an “address” field already defined, but all I found was “location” which I have already pre-defined. What I don’t know is if I will be able to assign these text fields in Schema to the address requirement, I think I will be able to, but wondered if you had any other suggestions I should know about before I try? Do you know if they are supposed to be grouped together somehow. I am also working with my developer, but he just got married, and so I am trying to get a head start here before he comes back to work!
Should I create text fields with labels for Street Address (example only):
$form["field"][] = array( "name" => "my_street_field", "type" => "adverts_field_text", "order" => 25, "label" => "Street Address", ) ); , then also for City, State and Zipcode (Zipcode using "name" => "string_length", "params" => array( "min" => 5)
The topic ‘Registering Custom Field Address’ is closed to new replies.