by philipt18 » January 10th, 2012, 3:15 am
The first topic seems to be discussing using shortcodes to determine a user's settings after they've registered, but I need a conditional while they're registering.
The second series of videos is interesting, although it seems to make changes before the registration page is loaded, and thus doesn't affect my issue of wanting to dynamically change the registration page based on the user selection.
For example, if the user selects either United States or Canada, then the State/Province drop-down would populate with States and Provinces (or better yet if the US is selected it fills with US States and if Canada is selected it fills with Canadian Provinces).
Basically, my goal is to eliminate incorrect information in the database. Right now I have a required city field, a non-required state/province field (since most countries don't need this), and a required country field. The problem is that some people who should be filling in the state/province field are not doing so since it is not required. Also, since there is no verification for States/Provinces, I am getting a mish-mash of formats (two-letter codes, written out, etc.).
What I want is that State/Province be a required field, but only settable if the user already selected US or Canada as their country.