Right now I have a form that opens a new window on submit, like this:

<form t:id="RunReportForm" target="_blank">
<t:errors />
<div align="center">
<input type="image" value="Submit" id="submit" name="Submit"
src="${runreportbtn}"/></div>
</form>

The error processing it does is all server side.  However, if there is an
error, it will open a new window and show the form's page, including the
errors.
At this point I have duplicate forms, and one shows the error.

I want to only open the next page in a new window "on Success"  Is this
possible?  Do I need to be using Javascript for this?

Thanks,
Daniel

Reply via email to