Welcome Guest, Not a member yet? Register   Sign In
is this validation class limitation?
#1

[eluser]webbymonk[/eluser]
Hey Guys,

I have tried to set rules for validation, but i have an array of same-name field
Code:
<input type="text" name="fieldname[]" />
<input type="text" name="fieldname[]" />
<input type="text" name="fieldname[]" />
<input type="text" name="fieldname[]" />

i tried to set rules in the validation
Code:
$rules['fieldname'][] = 'required'

and the result gave the error
Code:
A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: libraries/Validation.php

Line Number: 195


Messages In This Thread
is this validation class limitation? - by El Forum - 08-22-2008, 03:04 AM
is this validation class limitation? - by El Forum - 08-22-2008, 03:15 AM
is this validation class limitation? - by El Forum - 08-22-2008, 07:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB