Form validation errors in different frame? Possible?

Rob Breeds

The only thing I came up with was to do the input validation using JavaScript and dynamically set the TARGET if the validation succeeded.

I do have the error messages next to the corresponding input fields, but that only works if the TARGET is set to the same frame as the input. If the input validates OK, the response gets written to the input frame and not the results frame which is what I want.

If no errors I could ALWAYS return the input frame and check a session attribute to see if any results should be displayed, and if so change the results frame href so it loads the results from session.

I think the only way to do this is turn form validation off and have any error messages appear in the results frame. Not ideal, but it'll do for now!

Rob

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact