Form Validation |
[eluser]invision[/eluser]
Hi, I'm playing about with some very basic form validaton for a web site. However, currently when the fields are empty and I submit my form, the message outputted is: Code: The cname field is required. This happens because I use <?php echo $this->validation->error_string; ?> in my form view. Is there a way I could change this, so instead of saying each error, it would put a red border on the input element required? Would this be in the Validation class somewhere or the Form Helper? Controller: Code: class Createaccount extends Controller { Many thanks for any pointers. |
Messages In This Thread |
Form Validation - by El Forum - 04-19-2010, 02:31 AM
Form Validation - by El Forum - 04-19-2010, 02:41 AM
Form Validation - by El Forum - 04-19-2010, 02:53 AM
Form Validation - by El Forum - 04-19-2010, 03:08 AM
Form Validation - by El Forum - 04-19-2010, 03:10 AM
Form Validation - by El Forum - 04-19-2010, 03:22 AM
Form Validation - by El Forum - 04-19-2010, 03:22 AM
Form Validation - by El Forum - 04-19-2010, 03:34 AM
Form Validation - by El Forum - 04-19-2010, 03:43 AM
Form Validation - by El Forum - 04-19-2010, 03:47 AM
Form Validation - by El Forum - 04-19-2010, 04:05 AM
Form Validation - by El Forum - 04-19-2010, 04:31 AM
Form Validation - by El Forum - 04-19-2010, 04:47 AM
Form Validation - by El Forum - 04-19-2010, 06:31 AM
Form Validation - by El Forum - 04-19-2010, 06:37 AM
Form Validation - by El Forum - 04-19-2010, 06:43 AM
Form Validation - by El Forum - 04-19-2010, 06:50 AM
Form Validation - by El Forum - 04-19-2010, 06:54 AM
Form Validation - by El Forum - 04-19-2010, 06:54 AM
Form Validation - by El Forum - 04-19-2010, 07:17 PM
Form Validation - by El Forum - 04-19-2010, 10:01 PM
Form Validation - by El Forum - 04-20-2010, 01:10 AM
Form Validation - by El Forum - 04-21-2010, 11:05 AM
Form Validation - by El Forum - 04-21-2010, 11:43 AM
|