Hi Derek, I'm afraid you have to do it with JavaScript:
<a href="javascript:doThis()" target="_blank">Do this</a> With: function doThis() { document.forms[0].action = "forms/dothis"; document.forms[0].submit(); } Best regards - Volker - -----Original Message----- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Montag, 10. Juni 2002 11:54 To: [EMAIL PROTECTED] Subject: Form submission - results to a new window? [OT?] Hi I appreciate that this is not strictly a Cocoon issue - but thought there might be a guru here to help.... I have a form which will be submitted to Cocoon for processing. >From the XSLT: <input type="submit" name="@target" value="Submit" /> where @target will obviously correspond to some Cocoon pipeline match entry eg. "forms/dothis" The question is - is it possible to force the output to appear in a new browser window - with <a href>, one could just use <a href="forms/dothis" target="_blank"> but can the equivalent be done for a form?? Thanks Derek --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>