checkboxes in a database
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   diana_b
Posted On:   Monday, March 19, 2001 01:01 PM

Hi everybody,

I have a form that has couple of checkboxes and some textfields.
We need to retrieve all values from the form and insert it into DataBase (we have DB2 database).
I know how to retrieve and insert value from textfield, but I don't know how to do this with checkboxes.
My question is: how can I check if checkbox was checked, and if it was checked, how can I insert it into table?

Thanks in advance
Diana

Re: checkboxes in a database

Posted By:   Anonymous  
Posted On:   Friday, March 30, 2001 02:05 AM

Hi Diana,
You can get the values in a javascript either on click of that radio button or on submit of that particular form .. as follow





Whatever the parameter u set for the value, here it is "Y" you, can get in as the value... while that particular radio button or check box is checked.

if u still find problem mail me to pmallika@blr.cognizant.com

About | Sitemap | Contact