Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 4
Registered: ‎06-07-2011
My Device: None
My Carrier: None

Pre-populate form in BrowserField

Is there a way to load a local html page (..new BrowserFieldRequest("local:///index.html")...)  and pre-populate the form fields on the page with existing data?  I've been looking through the 5.0 documentation and example but cannot find anything.  


I'm sure that this can be done.  Can somebody with some experience send me in the right direction?


I had thought about maybe using a ScriptableFunction and when the page loads making a callback to the .java code to get the form field data, then populating, would be a way to go but it doesn't seem straightforward.