First, let me ask you, how do I keep this thread going? I seem to fall out of it when I try to respond to your suggestions.
Second, you may be right. But this is how I see it (I'm an old timer with experience in COBOL and a wonderful database system called PICK, so I'm trying my hardest to change my ways.)
When the script is requested all values are null. When the onChange is executed all three of the submit buttons are still null. I need a way to make update2 something other than null, like '1', for instance.
Then when the form is submitted, update1 will be null, update2 will be 1 and exit will be null. That way the PERL script will "know" that a request to retreive a group from the database has been submitted.
In the main script (masterFiles.cgi) the update codes are processed as follows: when update1 = 1, the script updates the data base, when update2 = 1 then the script retrieves the requested member of the data base and when exit = 1 then the script exits to the menuMaster.cgi (usually).
If my thinking is not too muddled, I think I need a function that will, onChange, set update2=1 and then submit the form.
Thanks in advance for hanging in there with me. I really appreciate your time and effort.
UR