• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

need help - urgent

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic