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

(08-26-2016, 10:48 PM)ivantcholakov Wrote: You can check whether the request method is 'post'. If so, take the posted data into an array. Then scan the array for keys that begin with 'mechanic_'. For the detected such keys make the corresponding validation rules and register them. After that you can call if $this->form_validation->run() { ... } else { ... }

could you please show this in code level
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB