Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 280 Bytes

snippet_checkbox_in_out.md

File metadata and controls

16 lines (14 loc) · 280 Bytes

Checkbox im Modul

Input

<input type="hidden" name="REX_INPUT_VALUE[1]" value="0"/>
<input type="checkbox" name="REX_INPUT_VALUE[1]" value="1" REX_VALUE[id=1 instead=checked]/>  

   

Output

<?php 
if(REX_VALUE[1])
    {
      echo "checked...";