Form not getting submitted


#1
   <form ng-submit="psubmit()" action="http://example.com/api" name="payment" id="payment" method="POST" enctype="multipart/form-data">
<input type="text" value="17759" name="account_id" readonly="readonly"/>
  <button type="submit">submit</button>
</form>

form not getting submitted in mobile. What would be the reason ? Trying to submit form to external url


#2

Look at the console log.


#3

It’s working fine in browser. When I build it as an Android app and run it in my mobile. It’s not working.


#4

I’m not talking about the browser’s console, I’m talking about your real device connect by USB and you inspecting the console with Chrome remote debugging.


#5

Thanks, But am not getting any error. Is the above mentioned format for submitting form to external url is correct ?


#6

It depends on how you defined psubmit function in your controller.