Welcome Guest, Not a member yet? Register   Sign In
form_submit() does not post
#5

I would guess it actually has to do with your form_validation library. This is a known challenge with WireDesignz' HMVC code. According to his docs at BitBucket:

wiredesignz Wrote: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. (This has been discussed on the CI forums also).


Code:
<?php
class Xyz extends MX_Controller
{
   function __construct()
   {
       parent::__construct();

       $this->load->library('form_validation');
       $this->form_validation->CI =& $this;
   }
}
Reply


Messages In This Thread
form_submit() does not post - by Edwin - 04-19-2015, 08:39 AM
RE: form_submit() does not post - by webnaz - 04-19-2015, 06:21 PM
RE: form_submit() does not post - by Edwin - 04-20-2015, 06:15 AM
RE: form_submit() does not post - by mwhitney - 04-20-2015, 10:12 AM
RE: form_submit() does not post - by kilishan - 04-20-2015, 10:16 AM
RE: form_submit() does not post - by Edwin - 04-22-2015, 11:47 PM
RE: form_submit() does not post - by CroNiX - 04-23-2015, 08:13 AM
RE: form_submit() does not post - by Edwin - 04-25-2015, 10:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB