RE: [PHP] Re: form submission logic

2004-05-10 Thread Jay Blanchard
[snip] This is more of a HTML than a PHP question, but anyway: It doesn't matter where you put the buttons as long as they are INSIDE the form-tag and have different names. [/snip] Actually you can name them all the same thing and then have PHP process the form via a switch/case statment. input

Re: [PHP] Re: form submission logic

2004-05-10 Thread Torsten Roehr
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] This is more of a HTML than a PHP question, but anyway: It doesn't matter where you put the buttons as long as they are INSIDE the form-tag and have different names. [/snip] Actually you can name them all the same

[PHP] Re: form submission logic

2004-05-07 Thread Torsten Roehr
Aaron Wolski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Was wondering if someone had any idea's on this logic and if it'd work, before I tried to implement it: Within the form/form tags I have my buttons - Publish, Unpublish, New, Edit and Delete. Next I have a

Re: [PHP] Re: form submission logic

2004-05-07 Thread Adam Voigt
On Fri, 2004-05-07 at 13:47, Torsten Roehr wrote: This is more of a HTML than a PHP question, but anyway: It doesn't matter where you put the buttons as long as they are INSIDE the form-tag and have different names. Actually you don't even have to have names for the buttons, for example:

Re: [PHP] Re: form submission logic

2004-05-07 Thread Torsten Roehr
Adam Voigt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, 2004-05-07 at 13:47, Torsten Roehr wrote: This is more of a HTML than a PHP question, but anyway: It doesn't matter where you put the buttons as long as they are INSIDE the form-tag and have different names.

[PHP] Re: form submission logic

2004-05-07 Thread Kim Steinhaug
Well, I would include another hidden field and name it something like ACTION. I would also include a checkbox on every item you want to do something with like this : input type=checkbox name=item[] value=?=$databaseID? Then use javascript on your actions to set the action to whatever mode you

[PHP] Re: form submission logic

2004-05-07 Thread Torsten Roehr
Kim Steinhaug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well, I would include another hidden field and name it something like ACTION. I would also include a checkbox on every item you want to do something with like this : input type=checkbox name=item[] value=?=$databaseID?

[PHP] Re: form submission logic

2004-05-07 Thread Kim Steinhaug
I dont agree however, if your creating a system which should be user friendly I would absolutely demand from my users to have JS enabled. If they dont have JS enabled, then - well, to bad for them... We have created several web applications and have alot of customers (B2B), and they have all JS

[PHP] Re: form submission logic

2004-05-07 Thread Torsten Roehr
Kim Steinhaug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I dont agree however, if your creating a system which should be user friendly I would absolutely demand from my users to have JS enabled. This is only possible in a non-public application. If they dont have JS enabled,