Answer the question
In order to leave comments, you need to log in
Why is the checkbox not working on the form?
Hello . A question. I have a Bitrix form.
There I have this line
<div><span><?=$arResult["ERROR_MESSAGE"]["ERR_CHECK"]?></span></div>
<input class="calc-form-checkbox" type="checkbox" name="check" checked = "checked">
<label class="calc-form-label">Я согласен<span>*</span></label>
<?var_dump($_POST["check"])?>
<input type="button" name="submit" value="Отправить" />
Answer the question
In order to leave comments, you need to log in
> checked = "checked"
first. invalid! in html, you can’t beat off with spaces around =
although it initially perceives the word checked as checked
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question