This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes How to identify changed fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to identify changed fields" Watch "How to identify changed fields" New topic
Author

How to identify changed fields

Steve Dambrosio
Greenhorn

Joined: Apr 02, 2009
Posts: 28
Does anyone have a good method for identifying changed input fields on a form? This is especially important when you are displaying a large collection. For example, suppose I've listed 100 lines on a form and the user changes one field on one line. How can I identify which field changed or at least which line it was on? I would want to do one database update in this case. Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to identify changed fields
 
It's not a secret anymore!