invalid server validation: how to receive the http
I'm developing a client-side/javascript form validation component. At a later stage the server-side validation component will be developed. Assume an invalid server side validation happens, therefore the server sends an http string back to the client. So far so good. Now, my client-side/javascript form validation component should be able to hanlde with that string,
which fields does have to be prefilled with which values
which field where invalid
an error notification string
Is this the whole picture?
Do you have an article about that in your bookmarks?
and then, the very basic question, how to read the infos from the string and fill it into the form, any snippet available?
|