Pets checkboxes
Closed this issue · 0 comments
stran12 commented
Checkboxes for pets be passed as an array of pet[] via GET and should function in the following manner:
- If only the option "dogs" is selected, submit pets[]=dogs
- If only the option "cats" is selected, submit pets[]=cats
- If only the option "none" is selected, submit pets[]=none
- 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.