Submission of CheckBox values in database from jsp

Newbie Member
6May2010,11:50   #1
sweta's Avatar
I have multiple checkboxes on my jsp.I have given default value as "N" and written a onclick function which sets it's value to "Y".When i submit by selecting the checkbox,it works fine.
But when checkbox is not selected it gives error.And it gets null instead of "N" value.

Please help me if possible.
Ambitious contributor
13May2010,09:50   #2
venami's Avatar
Can you post your part of code where you are facing the error, so that we can have a look into it and can help you. Also post your associated Javascript code here.