Welcome Guest, Not a member yet? Register   Sign In
Please Help with Form Validation Hmvc
#3

I presume you are using WireDesigz HMVC. Assuming this, callbacks are an issue with it but easily soluble.

In the docs for HMVC it says that you need to :

Quote:When using form validation with MX you will need to extend the CI_Form_validation class as shown below,

Code:
<?php
/** application/libraries/MY_Form_validation **/
class MY_Form_validation extends CI_Form_validation
{
   public $CI;
}
before assigning the current controller as the $CI variable to the form_validation library. This will allow your callback methods to function properly.

You can read about it here in full: https://bitbucket.org/wiredesignz/codeig...sions-hmvc

There are also lots of good examples to solve this: http://stackoverflow.com/questions/27923...ot-working

I hope this helps,

Best wishes,

Paul.
Reply


Messages In This Thread
Please Help with Form Validation Hmvc - by Vimal - 09-18-2015, 04:04 AM
RE: Please Help with Form Validation Hmvc - by PaulD - 09-21-2015, 01:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB