Welcome Guest, Not a member yet? Register   Sign In
Form field with dynamic id validation

How can i validate fields with names like this

<select name="mechanic_134" id="mechanic-134" class="form-control selectpicker">

mechanic_ is the general field name &  134 is a id i am getting from database. there are more fields to come like mechanic_135........mechanic_150.

i want to know how can i validate this field with dynamic id. please show it in code level. how it is done in controller & how the error output in view


Messages In This Thread
Form field with dynamic id validation - by greenarrow - 08-26-2016, 10:00 PM

Theme © iAndrew 2016 - Forum software by © MyBB