check-box conditioning |
(02-04-2015, 11:52 PM)jaysondotp Wrote: Hi coders, First you will have to post it somewhere so for example purposes we'll say the form/checkboxes is located at http://example.com/admin/form We will say you are submitting the form to : http://example.com/admin/save In the admin controllers --> save method you will have to get the data from the $_POST once you have that is when you can check if you have three values of the same like so: PHP Code: $i = 0; Or you could use jQuery to not even let it get to that point. Code: <script type="text/javascript"> |
Messages In This Thread |
check-box conditioning - by jaysondotp - 02-04-2015, 11:52 PM
RE: check-box conditioning - by egall8 - 02-05-2015, 09:47 AM
RE: check-box conditioning - by jaysondotp - 02-05-2015, 08:23 PM
|