0

I have a question if we can submit an html post form with Linking in react-native. If yes how we can submit it?

I want to submit it to default browser (not with webview) and here is html form:

<form method="POST" target="..." id="..." :action="videoConferenceUrl">
      <input type="hidden" name="target" value="..."/>
      <input type="hidden" name="requestOrigin" value="..."/>
      <input type="hidden" name="username" :value="..."/>
      <input type="hidden" name="password" :value="..."/>
      <input type="hidden" name="eventID" :value="..."/>
</form>

Please write every way how we can submit that form in the default browser.

Thanks in advance.

Fabio Plaka
  • 138
  • 2
  • 12
  • When you say "submit it to default browser" do you mean submit the data to a server, and then on the device you open the default browser app and view the response from the server? – alexanderbird Jul 07 '21 at 16:41
  • @alexanderbird no I only want the relevant of onPress={() => ( `}}>)} This will open the webview but I want to do this in the default browser – Fabio Plaka Jul 07 '21 at 16:44
  • I tried with Linking.openUrl() but I didn't work – Fabio Plaka Jul 07 '21 at 16:45
  • I'm not clear on what you're asking, sorry! It's been a while since I've done mobile dev with react native though, so I'm probably not the right person to answer your question. – alexanderbird Jul 07 '21 at 16:51
  • @alexanderbird I asked about making a POST FORM with Linking.openUrl. The form is in the question code. – Fabio Plaka Jul 07 '21 at 16:53

0 Answers0