You must Login before you can answer or comment on any questions.
I believe I need to use evalJS to accomplish this but I'm not sure how to invoke it at the correct time. I don't think I want addEventListener onLoad as that would return an empty variable because the user hasn't filled out the form yet.
This is probably something thats been done a few times but I couldn't find the answer in the QA.
what I would do is fire an event from the webView on the form submission.
as the payload of the event, send back the form data to the application
I didn't think it work remotely either but it did. I think because the initial content in the webview was local that helped. It seems to fire every time there's a load event in that view, perfect for my situation.
Think you can help? Login to answer this question!