I have assigned a module.
I have a form and there are seven field.
If user fill up only 2 field and closes the window by clicking the cross button then I want to track the record that user filled up only 2 field and left the form.
Its a user tracking system and we want to track the record where the user left the form
I need help in this way.
Please reply soon.
Welcome to JavaRanch!
In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here. In particular, please see UseAMeaningfulSubjectLine
Many people make a point of skipping threads with "urgent" in the subject line. A well written subject line will attract people who have a particular interest in or who are very familiar with your problem.
You can fix it if you click the edit link in your first post.
Again, welcome to JavaRanch and good luck with your question.
Originally posted by harish pathak:
Thanks for your reply.
>> The only way to do something like this would be to use Ajax
So can I use/implement Ajax if user closes the window by clicking the cross button
any idea/code available
There's not much of a guarantee that the call will be made if the user closes the browser or goes to a different page.
A better approach might be to make the ajax call every time the user exits a field this way you already know which fields have been filled in before the browser crashes or is closed.