Modal Dialog and Form Elements
<p>I have a form that contains some fields and a recaptcha box.</p>

<p>I have hidden the recaptcha box. The user clicks "create profile" and a modal dialog pops up with the recaptcha box. All fine.</p>

<p>But, how do I submit that information? I am using Javascript to create the recaptcha HTML in the modal. I have a button called "Create Profile" that has this code attatched to the onclick:</p>

<pre><code>$("#form").submit()
</code></pre>

<p>The form data gets submitted to the create.php page, but the recaptcha info does not. Do I have to manually pass this information via the post request to create.php?</p>

<p>Without the modal dialog it works fine. I can't understand what's going on.</p>

<p>Any ideas?</p>

<p>The site is www.presslike.net</p>
