You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "breautek (via GitHub)" <gi...@apache.org> on 2023/10/21 11:19:41 UTC
Re: [I] Html forms submit method is not working as expectation [cordova-ios]
breautek commented on issue #1331:
URL: https://github.com/apache/cordova-ios/issues/1331#issuecomment-1773760421
An HTML form is probably not what you want to use in a Cordova application because:
1. There is no "webserver" to locally post to to handle the post request, so it doesn't make much sense to post to a local URL.
2. If you're posting to an external URL, then you're leaving your cordova application.
If you are posting to an external URL, that URL needs to be trusted in your [allow list](https://cordova.apache.org/docs/en/12.x/guide/appdev/allowlist/index.html).
If you're integrating with an external server that uses forms, you can still use the JS Form API to submit the form without leaving the page.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org