I hope I understood your problem correctly.
To make the form be submitted to another frame just add TARGET attribute to
FORM tag:

<FORM name="..." method="post" action="..." target="targetframename">

if you want to submit to top-level frame (e.g. the browser window itself)
use target ="_top" . I guess this is your case since looks like you are
shooting at the frameset template.

Hope this helps.

WBR, Fedor. 
> -----Original Message-----
> From: Diethelm Guallar, Gonzalo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 20, 2000 2:38 PM
> To: 'Turbine'
> Subject: OT: Targeting a frame from a form submit button
> 
> 
> [Apologies to those not interested in frames...]
> 
> I have a page with several frames; one of them is
> the "data" area, where my WM templates are shown.
> 
> I can add to any template a little form that will
> ask for a template name, and when the submit button
> is pressed, it will jump directly to that template.
> This implements a kind of mouse-less direct
> navigation. The form uses setTemplate() to jump to
> the entered template.
> 
> My problem is this: I need this little form to be
> on a separate frame. If I move it to a frame that
> is not the "data" area, enter a template name and
> submit, nothing works as expected, and I end up in
> a recursive situation: the frame where the form is
> located now contains its own copy of all the frames
> in the app; the data frame in this nested set of
> frames shows a cryptic error.
> 
> The question: how do I "target" a particular frame
> from a button associated to a form? In other words,
> after I submit the form, I would like the setTemplate
> call to take effect in the one frame where I'm showing
> all the data for my app.
> 
> Thanks in advance,
> 
> 
> -- 
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to