PDA

View Full Version : HTML form in Dialog



bandino
5 Jun 2007, 1:33 PM
Hi,

I am using BasicDialog and load its

tryanDLS
5 Jun 2007, 1:40 PM
No, not unless you were to put an iframe containing the form inside the dialog body. That would be an pretty ugly hack. Just b/c you didn't generate the form with Ext doesn't mean you can't wrap it with Form object and submit it - that's what BasicForm is intended to do.

bandino
5 Jun 2007, 1:47 PM
Just b/c you didn't generate the form with Ext doesn't mean you can't wrap it with Form object and submit it - that's what BasicForm is intended to do.

Can you please post some example code for this?

tryanDLS
5 Jun 2007, 2:27 PM
You'll have to search - I posted a sample recently - I'm sure there are others too. It's not that difficult to dig into the source and figure out what's going.

ben.tremblay
5 Jun 2007, 2:49 PM
Currently when I submit the form entire page is replaced with the response page. What I would like to do is to show the response page in the dialog. Response page is plain HTML page.I have been lurking in the background with precisely this question / problem. As a test case I'm using a very heavily trimmed WordPress post form.

As you might surmise, I code but am not a programmer.

thanks to all of you for all of this
ben