• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SVN 1.7 / form_validation issue

#1
[eluser]awpti[/eluser]
so, I'm switching ignitedjobs.com to use the newer revision of form_validation.

While it does validate if everything is good - if something is wrong, the validation_errors function doesn't seem to ever output any data.

For instance;

I have a field called job_location which is required|max_length[64]

If this field is empty, it will refresh the form with all data still in the form, but 'echo validation_errors()' under my header results in no output. This is a fresh SVN pull.

Being called as such in the view:

Code:
<?php
echo $header;

echo validation_errors();

// rest of the form here

Again, it is passing validation as long as the fields are filled in correctly. If validation fails, there seem to be no errors in validation_errors()


Messages In This Thread
SVN 1.7 / form_validation issue - by El Forum - 08-30-2008, 12:43 AM
SVN 1.7 / form_validation issue - by El Forum - 08-30-2008, 02:55 AM
SVN 1.7 / form_validation issue - by El Forum - 08-30-2008, 03:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.