Hi all,
I have a requirement, that after filling the form with out calicking the save button, if user clicked on another page link button before redirecting the page, current form should be validated, if validation is success means(all required fields are filled) form should be auto save and then it need to be redirect. If required field validation fails page should not redirect to nextpage and should display the error messages.
How can I fullfill this requirement. I tryed to use javascript "onbeforeunload" event, It is working properly but showing a confirm box. I dont want to show a confirm box. If form is filled properly need to be autosaved and redirect else should not redirect.
I there any other method to do this please guide me.
Thanks
Tvs Kumar