jquery - Getting Check_Box to have a default value of nil with Bootstrap Switch -


http://www.bootstrap-switch.org/examples.html

i'm using indeterminate switch (which keeps checkbox between true , false). issue switch defaults true.

basically want field submit nil unless user selects true or false.

jackson need?
same use toggles.

<label>        <input type="checkbox" checked> checked  </label>  <br><br>  <label>        <input type="checkbox" unchecked> unchecked  </label>   


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -