ALMOST THERE in jQuery hiding fields on Register. Need advice.
After a lot of struggle, I’m tweaking a BuddyPress register page in the way I want it to display. Again, I’ll ask for some advice from you guys, as this is an already edited piece of code.
My website’s register page is this one (sorry for the Portuguese language): http://medsimples.com/registrar/
I tweaked it so it is showing different Profile Group Fields. The fields are “Base”, “Estudante” (student) and “Medico” (physician).
So, based on what the user selects on “Eu Sou” (I am) field, I want it to display or hide (with JQuery) the other two Group Fields.
The “Eu Sou” field is a Dropdown and I already added a DIV ID on the places I want to hide, which are the same values on the Options from the Dropdown. The problem is, my jQuery code is hiding all the registration form to display what I want.
For example: it’s all okay with the form, but when I choose “Medico” on the “Eu sou” field, everything hides and Medico Group Field shows up.
The jQuery I’m using is here: http://jsfiddle.net/
This is something a lot of people want to do and I’m almost there. I hope someone can help me. Thanks a lot!
- The topic ‘ALMOST THERE in jQuery hiding fields on Register. Need advice.’ is closed to new replies.