|
> -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx > [mailto:web400-bounces@xxxxxxxxxxxx]On > Behalf Of Joe Pluta > > > From: Don Freeman > > > > After a lot of frustration and experimentation and with the > help of a > > solid nudge in the correct direction (thanks B.C.) I now have a > working > > solution. > > Be very careful with checkboxes. They do not always act as you think > they might. In particular, if a checkbox is not checked, it does not > return a blank; it returns nothing at all. Basically, it > makes it very > difficult for you to "uncheck" a checked value. No kidding. I am trying to write the data update procedure now that the add procedure is done, and it looks to be an even bigger pain. > Even uglier, if you already have a value in your session with > that name, > the old value is returned. Thus, if you have two checkboxes on two > subsequent pages with the same name, and you check the first one and > then execute the second page, you may find the second one > acts as if it > were checked as well. Oh man, that is exactly the scenario that I am working with. One more obstacle to tackle. A major problem has been the lack of reference material for CGI as used with RPG. I've got a couple of books by Bradly Stone. They were good starting out but they don't get into the detail that I seem to need right now. I basically just went out and looked at various pages that used checkboxes and did a little reverse engineering.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.