• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help - urgent

 
harish pathak
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
harish pathak,
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
and
EaseUp


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.
-Ben
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way to do something like this would be to use Ajax, making little requests back to the server in the background whenever anything changes. Using plain HTML forms, everything is based on the request/response model, and the user would have to do something to submit the form (such as hit the 'Submit' button, etc.) before any information goes to the server.
 
harish pathak
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Thanks

harish pathak
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Thanks

harish pathak




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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic