Form help!!!

Results 1 to 2 of 2

Thread: Form help!!!

  1. #1
    Join Date
    Dec 1969

    Default Form help!!!

    Does anyone know if you can send form results to multiple locations?

  2. #2
    Join Date
    Dec 1969

    Default Yes, but...

    Once you send the form on the current page to another page, the form is *gone*! The new page replaces the current contents. Zap. Immediately. Good bye.<BR><BR>The only way to "send" a form is to replace the contents of *SOME* current window or frame with the URL that you are posting to.<BR><BR>So the answer is easy:<BR><BR>Use a &#060;FRAMESET&#062;. If you want, you can hide the other &#060;FRAME&#062;s in the set (just use ROWS="100%,*,*" and the first frame gets 100% of the space while the other[s] get zero).<BR><BR>And post the form to multiple frames.<BR><BR>Like this:<BR><BR>&#060;FORM Name="whatever" Method="POST"&#062;<BR>...<BR>&#060;INPUT Type=Button Value="submit" onClick="doSubmit(this.form);"&#062;<BR>&#060;/FORM&#062;<BR><BR>&#060;SCRIPT&#062;<BR>function doSubmit( frm )<BR>{<BR> frm.action = "";<BR> = parent.frame2;<BR> frm.submit( );<BR> frm.action = "/thissite/page17.asp";<BR> = parent.frame3;<BR> frm.submit( );<BR> frm.action = "page2.asp"<BR> = self; // or parent.frame1 or ...<BR> frm.submit( );<BR>}<BR>&#060;/SCRIPT&#062;<BR><BR><BR>I think that&#039;s the right way to assign the Experiment, if it doesn&#039;t work.<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts