Hi there, I'm taking a crack at my first app. One paper, it's pretty simple, and I've got most of the interface and basic logic figured out, but I'm stuck on one key step that might require an extension of some kind.
My app is pretty simple, it's for making it easy to enter the ticket lottery of a Broadway show. Normally you have to go to a webpage, click a link, and a form is opened in an iframe prompting you for your name, date of birth, etc. I'd like to have an app that stores my name, etc in TinyDB, and then opens the page in a webview. Once it loads the form, I want the fields to automatically be populated by the appropriate entries in TinyDB. If this is confusing, there's a free iOS app that does almost exactly this called Ham (
https://itunes.apple.com/us/app/ham-lottery-app/id1088026752?mt=8)
Now, I can store the data easily in TinyDB through a settings screen that prompts for the various values. And I can see the class and IDs for each input field in the web page. But I don't see any obvious way to tell the app to put a TinyDB value into the corresponding an html input element when the iframe loads (or for that matter to get it to notice that the iframe has loaded). Any ideas how to accomplish this?
Thank you!