title: How to capture webform data from a WebView?
body: <p>I'm building a Mac OS native application that uses a WebView to display custom data forms. The user will be able to fill out these forms to input data to the application. I need to be able to capture whatever data gets submitted as part of these html forms. </p>
  
  <p>So if for example a webform comes up that has a text field which the user can use to enter a name - along with an 'OK' button next to it which submits the data - I would need to be able to capture whatever the user entered in that text field. </p>
  
  <p>Keep in mind the HTML is loaded locally, not from a URL. Like so:
  [[webview mainFrame] loadHTMLString:htmlSource baseURL:nil];</p>
  
  <p>How can I capture any data that is being send entered this way?</p>