• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.