Created
April 4, 2016 21:56
-
-
Save strangerstudios/69285212921ff5a25baddbfebb078b82 to your computer and use it in GitHub Desktop.
Example of pmprorh_add_registration_field function.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$field = new PMProRH_Field("gender", "select", array("options"=>array("" => "", "male"=>"Male", "female"=>"Female"))); | |
pmprorh_add_registration_field("personal", $field); | |
$field = PMProRH_Field("company", "text", array("size"=>40, "class"=>"company", "profile"=>true, "required"=>true)); | |
pmprorh_add_registration_field("business", $field); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$field = PMProRH_Field("company", "text", array("size"=>40, "class"=>"company", "profile"=>true, "required"=>true));
should be
$field = new PMProRH_Field("company", "text", array("size"=>40, "class"=>"company", "profile"=>true, "required"=>true));