• Ok, i’m pretty new to the coding end of wordpress so bare with me.

    I’m trying to do a one page registration form with wordpress or at the very least get the submition of the form to popup in a thickbox. Right now what I have is the source table code from the wp-login?action=register page and copied it into my page template, right now it works in a sense. I changed the the redirection of wp-login to

    } else {
    		$redirect_to = $_SERVER[HTTP_REFERER];
    
    	}

    So, if the information is entered correctly the first time, it will redirect to the successful registration message with the login box, once they log in it will redirect to the previous page. Problem with this is, is that if they enter in any information wrong it will redirect to the original registration form, with the form validation errors. Once they correct that information and try to log in, it will redirect to the previous page, which would be the original registration page, so it throws them in a loop.

    I would like some sort of ajax style form validation and i found a tut on how to do that tho i’m not sure how well it will work for a registration form (http://net.tutsplus.com/tutorials/wordpress/adding-form-validation-to-wordpress-comments-using-jquery/). If i could get it to pull from the actual registration database to validate so they don’t have to leave the page that would be awesome.

    That being said, I’ve search everywhere for any sort of solution and am kind of surprised I can’t find anything. Are there any tutorials on how to go about this or would any one be willing to lend a hand?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Registration Form with form validation’ is closed to new replies.