<input type="checkbox" name="gender" value="male" id="male" > <input type="checkbox" name="gender" value="female" id="female" > <input type="submit" onClick="redirect()">