Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re: How to get only changed parameter names from CGI script on form submit?
in thread [Solved]: How to get only changed parameter names from CGI script on form submit?

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        

  • Comment on Re^2: How to get only changed parameter names from CGI script on form submit? (clobber)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found