Welcome Guest, Not a member yet? Register   Sign In
Re-populating the form field with the submitted data using form validation with array as the name doesn't work !!
#1

[eluser]didit[/eluser]
hi all,
need your help Big Grin

can the form_validation handle the form like this?? and how??

here my form
Code:
<form>
  Employee 1 : <input type="text" name="employee[]" value="<?php set_value('employee[]');?>">
  Employee 2 : <input type="text" name="employee[]" value="<?php set_value('employee[]');?>">
  <input type="submit" name="submit" value="Save">
</form>

many thanks
#2

[eluser]kirkaracha[/eluser]
The form validation class is supposed to handle this, but it's buggy. You might be able to work around it.




Theme © iAndrew 2016 - Forum software by © MyBB