Cordova and Jquery Post to codeigniter RESTapi -
i'm making cordova application. made 2 simple form login , register. use jquery post data ci's controller (http://example.com/api/register example)
everythings works fine until try validate data ci.
if($this->form_validation->run() == false) { // code }
i tried use form_validation library seems use properly, need load form in codeigniter first. problem here, can't load form in ci because i'm in cordova application. how can use ci form_validation library without loading form first?
thank help.
Comments
Post a Comment