Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
In a contact form I use CheckBox. How can I ask in PHP if the CheckBox is checked? I tried this: if($CheckBoxBot->value = "checked") ... What is wrong. Thanks for Help. regards Michael |
||||
|
Usually, you just get it from the POST variable (or GET, if your form is using GETinstead): if (isset($_POST['mycheckbox'])) |
||||
|
Note, you also need to name your checkbox in the HTML "mycheckbox" in that example. |
||||
|
Oh, thats nice - thank you !!! |
|