I have an html form which is calling another form (lets call it form1) as a modalbox using the following syntax:-
<a id="cts_link1" name="cts_link1" href="/CTS/form1.asp"Â title="Form 1" onclick="Modalbox.show(this.href, {title: this.title, width: 800, height: 600, overlayClose: false }); return false;" /> FrmLink
Now in this loaded modalbox (form 1) I want to submit entered data and return to the calling/parent form whilst keeping any information that was typed on the parent form.Â
Form 1 syntax looks like this:-
    <form  action="ProcessForm1.asp" class="niceform" method="post" id="Form1">
    <fieldset>
      <legend>Bio Information</legend>
      <dl>
        <dt><label for="A_Name">What is your name? (Caller may choose to be anonymous)</label></dt>
        <dd><input type="text" name="Name" id="Name" size="64" /></dd>
      </dl>    Â
      <dl>
        <dt><label for="A_POB">What is your place of birth?</label></dt>
        <dd><input type="text" name="A_POB" id="A_POB" size="64" /></dd>
      </dl>
    </fieldset>
    <fieldset class="action">
      <input type="submit" name="submit" id="submit" value="submit"/>      Â
    </fieldset>
    </form>
In summary, I would like to achieve these steps:-
1. Call a modalbox formÂ
2. Enter data in the form and hit submit
3. Return to the calling form without refreshing it.
Thanks,
Humphrey.
               Â