3 tabbed login form validating ...

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
pepe_lepew1962
Forum Commoner
Posts: 44
Joined: Thu Nov 20, 2008 10:29 am

3 tabbed login form validating ...

Post by pepe_lepew1962 »

Hello:

I have a 3 tabbed user form where one tab is for "registering", another tab for "login" and a third tab for "forgot". The default is "login" and for the most part that all works fine. My problem is that when the user clicks 1 of the other tabs, say "register", and fills in the information and clicks "submit", the page seems to refresh and jump back to the default, which is login. I get why it is doing that because the default radio button is setup that way. How do I stay on that page and ensure it has done proper validating individually? I know I can create 3 individual pages, but I am trying to make it as efficient as possible and this seems logical. I have tried using "sessions" but everything is so bloated. Is there a simple way to do this validating on "current" tab? Ajax? Javascript? JQuery? I have tried for 2 weeks now and am almost defeated.

https://codepen.io/lepew/pen/pPQWQG
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: 3 tabbed login form validating ...

Post by Celauran »

Ajax calls could totally work here. What have you tried so far and what error(s) are you encountering?
Post Reply