Welcome Guest, Not a member yet? Register   Sign In
Validation of listbox, checkbox groups and reselect multiple values using set_select, set_checkbox / Sol: Array to strin
#21

[eluser]Référencement Google[/eluser]
You shouldn't need this hack since you can use a new Form validation library from SVN. Please be sure to check http://ellislab.com/forums/viewthread/89251/
#22

[eluser]kamal1976[/eluser]
Hello,

Thank you for the prompt reply. With reference to above code #19 after updating the validation class still it gives me the following Notice.

It gives following notice.
A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: libraries/Validation.php

Line Number: 304 //Before updating it was line number 302 in the original Validation.php file.

How can I get rid of this notice.

Thank you,
Kamal.
#23

[eluser]Derek Jones[/eluser]
Kamal, you should not be using the Validation class at all. Please use the Form Validation class referenced in Too Pixel's link above, including removing any custom class extending you were doing to the old class. This is a brand new class with new methods and new documentation. The old Validation class is deprecated and will not continue to be supported.
#24

[eluser]kamal1976[/eluser]
Thank you very much please don't spend you time on the Notice. I need to convert my posted array before it runs the validation.

Thank you very much.

Kamal.




Theme © iAndrew 2016 - Forum software by © MyBB