Jump to content

Checkbox from true to false issue


Mazinger

Recommended Posts

Hello everyone,I have a problem with an ASP porgram and I will be very glad for your assist.In the database, I have table (BOK) and column (STATUS), this column is a databite with only 1 and 0 values. I have two checkbox in the HTML code. This work very well to put from 0 to 1 in the databaseTillgänglig <input type="checkbox" name="synlig" value ="on"> <% If synlig = "on" Then rsBok("status") = True End If %> But in other checkbox, I try to put the same bok från 1 to 0 but don´t work Otillgänglig <input type="checkbox" name="osynlig" value ="on"> <% If osynlig = "on" Then rsBok("status") = False End If %> Please can you help me to solve this problem Kind regards,Eric

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...