Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to get only changed parameter names from CGI script on form submit?

by Perl300 (Friar)
on Nov 23, 2015 at 21:36 UTC ( [id://1148440]=note: print w/replies, xml ) Need Help??


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

Thank you all for your inputs. I finally did create a hidden element and added and array of all parameter values before form is submitted into that hidden element.

After the form is submitted I comparing all the values from this hidden element with the values sent in form and when I find any difference then I am running DB query only for the corresponding parameter. It needed a bit of formatting to make both the array elements in same format and sequence so only difference in parameter values will be caught.

  • Comment on Re: How to get only changed parameter names from CGI script on form submit?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found