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

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -