PDA

View Full Version : open form response in new window



simone dalmasso
9 Oct 2009, 7:10 AM
Hi list, I made a formPanel which submits data with standardSubmit set to true.
I would like that the response loads in a new window like the option <form onsubmit='window.open('','')'...should do.
Have you got any ideas on how to do that?
Thanks a lot.
Simone.

mitchellsimoens
9 Oct 2009, 12:36 PM
well sounds like you don't even need Ext JS

simone dalmasso
9 Oct 2009, 1:17 PM
Yes, I need Exj because I use it to create the form and other things.
Anyway, for now I've solved this issue by adding the attributes onsubmit and target to the dom element. But I don't thik that's the best solution.