"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 7 Jul 2004 10:06:25 +0200, Torsten Roehr <[EMAIL PROTECTED]>
wrote:
> > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > * Thus wrote Torsten Roehr:
> > > > > >
> > > > > > How d
On Wed, 7 Jul 2004 10:06:25 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote:
> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > * Thus wrote Torsten Roehr:
> > > > >
> > > > > How do you check which button was pressed (read: which action should
> be
> > > > > performed
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Torsten Roehr:
> > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > * Thus wrote Torsten Roehr:
> > >
> > > And if it did, which one does it send? If there are multiple
> > >
* Thus wrote Torsten Roehr:
> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > * Thus wrote Torsten Roehr:
> >
> > And if it did, which one does it send? If there are multiple
> > buttons on a page, does it send the one closest to the focused
> > item? or does it sen
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Torsten Roehr:
> > > >
> > > > How do you check which button was pressed (read: which action should
be
> > > > performed) when not relying on this?
> > > >
> > >
> > > The button is generally *not* sent by the
* Thus wrote Torsten Roehr:
> > >
> > > How do you check which button was pressed (read: which action should be
> > > performed) when not relying on this?
> > >
> >
> > The button is generally *not* sent by the browser if you hit enter
> > instead of submit. This *will* happen, so you have to deal
On Tue, 6 Jul 2004 21:19:35 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote:
> "Justin Patrin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]>
> wrote:
> > > "Richard Davey" <[EMAIL PROTECTED]> wrote in message
>
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]>
wrote:
> > "Richard Davey" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Hello Jason,
> > >
> > > Tuesday, July 6, 2004, 2:37:08
On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr <[EMAIL PROTECTED]> wrote:
> "Richard Davey" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello Jason,
> >
> > Tuesday, July 6, 2004, 2:37:08 PM, you wrote:
> >
> > JW> It might not be a good idea to rely on the "submit" button t
"Richard Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Jason,
>
> Tuesday, July 6, 2004, 2:37:08 PM, you wrote:
>
> JW> It might not be a good idea to rely on the "submit" button to be set.
Some
> JW> browsers do not set/send it if you didn't explicitly click on the
"su
Hello Jason,
Tuesday, July 6, 2004, 2:37:08 PM, you wrote:
JW> It might not be a good idea to rely on the "submit" button to be set. Some
JW> browsers do not set/send it if you didn't explicitly click on the "submit"
JW> button. I would use:
Absolutely. If you hit ENTER to submit a form (rather
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tuesday 06 July 2004 17:50, Torsten Roehr wrote:
>
> > > How can I check if a form has been submitted, I have seen a demo that
> > > uses the following:
> > >
> > > if(isset($HTTP_POST_VARS))
> > >
> > > But I understand
On Tuesday 06 July 2004 17:50, Torsten Roehr wrote:
> > How can I check if a form has been submitted, I have seen a demo that
> > uses the following:
> >
> > if(isset($HTTP_POST_VARS))
> >
> > But I understand that $HTTP_POST_VARS is depricated...
> >
> > Thanks for your help
>
> Check the $_POST
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> How can I check if a form has been submitted, I have seen a demo that uses
> the following:
>
> if(isset($HTTP_POST_VARS))
>
> But I understand that $HTTP_POST_VARS is depricated...
>
> Thanks for your help
Check the $_P
>"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 t
[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.
http
"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 e
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
"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 :
>
>
>
> Then use javascript on your actions
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 :
Then use javascript on your actions to set the action to whatever mode you
need,
for example "delete". On the PHP side you get
"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
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 exampl
"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 tags I have my buttons - Publish, Unpublish,
> New, Edit and Delete.
>
> Next I have a t
You do not need to use javascript.
Simple create a form that submits to itself. And check the values, then
reprint the form or redirect.
Example:
\n";
}
}
if (!empty($err_msg)) print $err_msg;
}
?>
Hope that helps,
-- Stewart
On Mon, 18 Feb 2002, George Whiffen wrote:
> Jason
Jason,
You didn't mention Javascript checks.
Personally I really dislike having to wati for a page to reload before finding
out that I've just failed to fill in a field. The Javascript to do basic
on-page checks is all pretty simple stuff.
Of course this doesn't mean we can skip checking the d
25 matches
Mail list logo