ARRAS, seit 938 N e w s 4 N o t e s
Home  |  Sitemap  |  Links    
.: News4Notes :: 02.12.2004 :: 14:27 :: Lotus Notes and Domino News :.
Identifying The Selected Radio Button
Send link  |  Feedback  |  Print

« U T I L I T I E S »

RSS news 2.0
RSS validate
RSS tips 2.0
RSS validate
OPML domino
Find RSS
ND6 powered
DDN hosted
CAR designed
GEO url
open NTF
Lotus Geek

by Breaking Par

For a recent intranet project, we were working on a survey application. The choices for each question were Yes, No, and N/A. On the back-end we needed to total up all the "Yes" answers and wanted to ignore the "No" and "N/A" answers. So we made this easy by setting an alias for "Yes" to "1", and the alias for "No" and "N/A" was both "0". We could just sum up all the field values and we'd have our number of "Yes" answers. This was working fine until the customer wanted to add an additional prompt if the user clicked "N/A" making sure that's what they wanted to do. Now "No" and "N/A" need to behave slightly different but still neither contributes to the total on the back end. We couldn't change the alias, so how do we know, at the time of clicking, if "No" or "N/A" was chosen, without looking at the alias? Read on to find the answer...
« Read the full article... »

.: News4Notes :: Lotus Notes and Domino News :: News4Notes :.
Daily technical Lotus Notes and Domino News at or as RSS feed at