fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 932 forks source link

Form Post method support #742

Open siva563 opened 4 years ago

siva563 commented 4 years ago

I am trying once opne web view, Form posting should be with values, But I am not able to do it, could you plese help me out.

Code :

 <html><form id="myForm" method="post" action="https://xxxxxx/xxx/xxxx.aspx" >
<input type="hidden" name="id" value="value"/>
<input type="hidden" name="token" value="value" />
</form><script>myForm.submit();</script></html>

Could you please help me, I want to load and post a method once web view loaded.

siva563 commented 4 years ago

@lejard-h need your help could you please look into.

lejard-h commented 4 years ago

Sorry I am not actively working on this plugin anymore, @charafau is the maintainer now.

But could you elaborate about what you are trying to do ? Are you trying to trigger form submission from Dart code ? Do you have any error ? Any code snippet you can share so we can help you ?