Using checkboxes in this way submits an array through the post request - as we've already seen.
Sending an array will affect the content type, which is why that particular check is failing for you.
In this tutorial, our concern is to get values of multiple checked checkboxes using PHP as follows: To get value of a checked checkbox : In our example, there is a form contains some checkboxes, User checks them and when he/she hits submit button, multiple values of checkboxes will be display.
Make sure the check in the PHP code is also updated accordingly.
Auctions - Buy the things you want at great prices. Recent Discussions [casperjs] Does Not Flush Stdout[play-framework] Play Framework 2.5 - Execution ExceptionCompletion Exception: Concurrent Modification Exception[akka-user] Best Practice When Dealing With Exceptions In Child Actors When The Actor Cant Crash Or Needs To Return Error To End User?Watch our live demo or download our codes to use it./* Below line is used for online Google font */ @import url(If it's valid to send an array of checkbox values through your form, that's fine!You just need to add a conditional/check to not validate your checkboxes in that particular bit of the validation.]]