dilipwk
September 18, 2015, 3:21pm
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
dilipwk
September 18, 2015, 3:37pm
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.
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.
dilipwk
September 18, 2015, 4:43pm
5
Thanks, But am not getting any error. Is the above mentioned format for submitting form to external url is correct ?
It depends on how you defined psubmit function in your controller.