stran12/slickpadz

Pets checkboxes

Closed this issue · 0 comments

Checkboxes for pets be passed as an array of pet[] via GET and should function in the following manner:

  1. If only the option "dogs" is selected, submit pets[]=dogs
  2. If only the option "cats" is selected, submit pets[]=cats
  3. If only the option "none" is selected, submit pets[]=none
  4. If both the "dogs" and "cats" option is selected, submit pets[]=dogs,cats

Note: If the user has checked either "cats" or "dogs" or both, then by clicking "None", the check marks for both "cats" and "dogs" should be removed.