Re: [PHP] Re: Open form in new window

2013-03-05 Thread tamouse mailing lists
On Tue, Mar 5, 2013 at 8:37 AM, Jim Giner wrote: > On 3/4/2013 11:04 PM, tamouse mailing lists wrote: >> >> I would like to just take a step back and ponder what the user >> experience of this will be. Click a submit button, one of *many* as >> the OP says, and a new browser window opens? I don't

Re: [PHP] Re: Open form in new window

2013-03-05 Thread Jim Giner
On 3/4/2013 11:04 PM, tamouse mailing lists wrote: I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser window opens? I don't think that is how most people experience the web these days. T

Re: [PHP] Re: Open form in new window

2013-03-04 Thread tamouse mailing lists
I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser window opens? I don't think that is how most people experience the web these days. Technicalities of how one does this notwithstanding, I

[PHP] Re: Open form in new window

2013-03-04 Thread Jim Giner
On 3/4/2013 12:44 AM, John Taylor-Johnston wrote: I have many different submit button. When php processes value="Enter Data", I would like to open a new window, but only if I click this one. Possible? I knw ther is an HTML target="" thingy. Can PHP do anything magic? Just put the DPRmode b

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 20:17, Paul M Foster wrote: > On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: >> Personally I never submit forms. I use ajax to communicate with PHP >> scripts and do something with the data that is returned by the script. >> You can see a simple example at http:

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Ashley Sheridan
On Mon, 2013-03-04 at 15:22 -0500, Paul M Foster wrote: > On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: > > > On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < > > john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > > > > > You could echo HTML code e.g. > > >> > > >>

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: > On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < > john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > > > You could echo HTML code e.g. > >> > >> Which is still purely HTML and has nothing whatsoever to do with PHP. > >

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: > On 04 Mar 2013 at 17:10, John Taylor-Johnston > wrote: > > > Submit will not > > submit the form contents. > > Nothing to stop your OpenWindow() function doing a submit as in: > > Submit > > > function OpenWindow (formPtr) >

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Matijn Woudt
On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > You could echo HTML code e.g. >> >> Which is still purely HTML and has nothing whatsoever to do with PHP. >> >> > >> > >> > Number: >> > Submit<**/button> >> > >

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 17:10, John Taylor-Johnston wrote: > Submit will not > submit the form contents. Nothing to stop your OpenWindow() function doing a submit as in: Submit function OpenWindow (formPtr) { // Some actions formPtr.submit (); } Personally I never submit

Re: [PHP] Re: Open form in new window

2013-03-04 Thread John Taylor-Johnston
> You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. > > > Number: > Submit > > > or include it as one of your form attributes: > > > First name: > Last name: > > Again, pur

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
I was using an example and NOT intended to show ASP. On 4 March 2013 08:35, Maciek Sokolewicz wrote: > On 4 March 2013 09:32, Terry Ally (Gmail) wrote: > > You could echo HTML code e.g. > Which is still purely HTML and has nothing whatsoever to do with PHP. > > > > > > > Number: > > Submit >

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Maciek Sokolewicz
On 4 March 2013 09:32, Terry Ally (Gmail) wrote: > You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. > > > Number: > Submit > > > or include it as one of your form attributes: > > > First name: > Last name: > > Again, pure HTML, and

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Terry Ally (Gmail)
You could echo HTML code e.g. Number: *Submit* or include it as one of your form attributes: ** First name: Last name: On 4 March 2013 07:16, Maciek Sokolewicz wrote: > On 4-3-2013 6:44, John Taylor-Johnston wrote: > >> I have many different submit button. >> >> >> >> When php

[PHP] Re: Open form in new window

2013-03-03 Thread Maciek Sokolewicz
On 4-3-2013 6:44, John Taylor-Johnston wrote: I have many different submit button. When php processes value="Enter Data", I would like to open a new window, but only if I click this one. Possible? I knw ther is an HTML target="" thingy. Can PHP do anything magic? No, it can't. PHP is a *serv