Validation errors and rules issue |
[eluser]Maglok[/eluser]
Ah there we go. The user guide mentions this: Quote:The array keys are the actual names of the form fields, the value represents the full name that you want shown in the error message. Since you use $this->input->post('address'); you are using the value. It seems you should be using the name of the field you want to use and repopulate: Code: $fields['postcode'] = 'Postcode'; http://ellislab.com/codeigniter/user-gui...ation.html for more info A bit strange how it handles it, but just fill out the name you want to appear there then, I think it can figure out what to put in the field by itself. |
Messages In This Thread |
Validation errors and rules issue - by El Forum - 07-27-2010, 02:47 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 04:44 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 04:55 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 05:50 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 05:57 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 06:08 AM
Validation errors and rules issue - by El Forum - 07-27-2010, 06:35 AM
|