dettjw01 Posted December 28, 2012 Share Posted December 28, 2012 On my registration page, I would like to allow my clients to select from two different options as roles they can have when they register for the website. The first role is "member", the second is "manager". I can't find any resources on how the syntax should work with the create_form_input tag to allow the user to select one of those two options and store it in the database under the "type" field. Please help! Jim Link to comment Share on other sites More sharing options...
Larry Posted January 1, 2013 Share Posted January 1, 2013 The create_form_input() function is already defined to support a SELECT. Just replicate the code for state, cc_exp_month, and cc_exp_year to create a new data array for your situation. Link to comment Share on other sites More sharing options...
Recommended Posts