new here. hi. i have a question regarding if else statement in VBscript. i created few checkboxes that is connected to ms access database.when a checkbox is ticked/checked, the value that is assigned to that checkbox is stored in database.but the unticked checboxes show value "undefined" in the database.
i guess i need to write if else statement to do something bout it..can anyone help me? here the coding:

celebration1= String ( Request("B_Celebration1"));
celebration1= String(celebration1.replace(/'/g,"'"));

celebration2= String ( Request("B_Celebration2"));
celebration2= String(celebration2.replace(/'/g,"'"));

celebration3= String ( Request("B_Celebration3"));
celebration3 = String(celebration3.replace(/'/g,"'"));