How do I capture the selected option and pass in sending the registration form?
Way use jQery to populate the select field when you can use filter and hook into the form using PHP eg: //1. Add a new form element… add_action(‘register_form’,’_register_form_wpa103118′); function _register_form_wpa103118 (){ $name_of_select = ( isset( $_POST[‘name_of_select’] ) ) ? $_POST[‘name_of_select’]: ”; $options = array( ‘Medicine’ => ‘Medicine’, ‘Option2’ => ‘Option2’, ); ?> <p> <label for=”name_of_select”><?php … Read more