22. marts 2001 - 13:12Der er
3 kommentarer og 1 løsning
checkboxes validation
What is the easiest way to validate which checkboxes are checked? I can have up to 10 checkboxes on the page, the checkboxes are giving via POST to another page were I need to validate them and put the checked ones in a database anybody an idea
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
If you give them all the same name and diffrent values, it will be returned as value,value,value Only the cheked values will appear. Split em using Split(request.Form(\"Checker\"),\",\")
It sets an Array, use it like this: Give you checkboxes the name Checker.
CheckValues = Split(request.form(\"Checker\"),\",\") For F = 0 to Ubound(CheckValues) response.write(CheckValues(F)) Next
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.