CodeIgniter Forums
Private function and Custom form validation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Private function and Custom form validation (/showthread.php?tid=53030)

Pages: 1 2


Private function and Custom form validation - El Forum - 07-08-2012

[eluser]CroNiX[/eluser]
Code:
$this->form_validation->set_message('_check_terms', 'The terms of service must be read and agreed to before continuing.');
Need underscore before check_terms


Private function and Custom form validation - El Forum - 07-08-2012

[eluser]InsiteFX[/eluser]
I updated my code to add yours CroNiX



Private function and Custom form validation - El Forum - 07-08-2012

[eluser]BenAbrams[/eluser]
[quote author="CroNiX" date="1341767037"]
Code:
$this->form_validation->set_message('_check_terms', 'The terms of service must be read and agreed to before continuing.');
Need underscore before check_terms[/quote]

:gulp:

*Facepalm*

Sorry guys, that was pretty stupid. Working as expected now. Thanks