Ajax validation and response

Redirect to default valid URL

"redirect1" will redirect to a URL defined specifically for it. "redirect2" will redirect to the default valid URL.