Author Topic: How to create a Dropdown check box  (Read 945 times)

Sivakumar

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 32
    • View Profile
How to create a Dropdown check box
« on: December 14, 2021, 04:09:56 pm »
How to create a Dropdown check box .Please share a demo on the same

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to create a Dropdown check box
« Reply #1 on: December 14, 2021, 05:55:12 pm »
Please check examples of dropdown checkbox on this url: https://paramquery.com/select

Sivakumar

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: How to create a Dropdown check box
« Reply #2 on: December 14, 2021, 09:10:13 pm »
Thank you it helped and how do we select all the check box initially.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to create a Dropdown check box
« Reply #3 on: December 15, 2021, 05:18:36 pm »
you would need to select all the options in the multiple select list from which dropdown checkbox is created.

Code: [Select]
<select name="cars" id="cars" multiple>
    <option value="volvo" selected>Volvo</option>
    <option value="saab" selected>Saab</option>
    <option value="opel" selected>Opel</option>
    <option value="audi" selected>Audi</option>
  </select>

Sivakumar

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: How to create a Dropdown check box
« Reply #4 on: December 23, 2021, 07:37:02 pm »
How to get the unselected check box values from select list check box