go ahead... be a heretic | |
PerlMonks |
Re^2: How to get only changed parameter names from CGI script on form submit? (clobber)by tye (Sage) |
on Nov 23, 2015 at 18:08 UTC ( [id://1148410]=note: print w/replies, xml ) | Need Help?? |
No, you want to update the values that the user updated, not the ones that differ from the DB. As a general principle, if a value changes in the DB after the page was loaded and before the form was submitted, then you should preserve the value in the DB, not clobber somebody else's update with this user's non-update. That generally leads to fewer problems and surprises. - tye
In Section
Seekers of Perl Wisdom
|
|