On Sep 11, 2010, at 12:14 PM, Jason Pruim wrote:
On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote:
Rather than repeating all that code, I suggest the following:
[snip]
That's actually what I'm trying to get away from. I was hoping to do
it all in HEREDOC syntax. I've always thought it made
At 1:09 PM -0400 9/11/10, Jason Pruim wrote:
Hey tedd,
Thanks for the response but for this particular project I'm avoiding
using anything but standard HTML since it will be used almost
exclusively by people using screen readers and other assistive
technology so I'm going a little old school
At 11:42 AM -0500 9/11/10, Tamara Temple wrote:
The debate on client-side vs. server-side form validation is
ongoing. Client-side is more responsive, and attempts to keep bad
data from ever reaching your application, but relies on javascript
being enabled. Since this is something easily turned
Jason Pruim wrote:
Hi Tamara,
On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote:
Rather than repeating all that code, I suggest the following:
-- select type --
$_POST['hidSubmit'] == TRUE && $_POST['type'] == "meeting") ?
"selected" : '' ?>
$_POST['hidSubmit'] == TRUE && $_POST['type
On Sep 11, 2010, at 1:03 PM, Debbie . wrote:
Jason,
I don't really understand the responses you got to this email, I
have attached the sticky form I made from a book called "PHP Visual
Quickstart guide. It uses an if conditional to print a response if
the field is empty.
If I'm not helpi
Hi Tamara,
On Sep 11, 2010, at 12:39 PM, Tamara Temple wrote:
Rather than repeating all that code, I suggest the following:
-- select type --
$_POST['hidSubmit'] == TRUE && $_POST['type'] == "meeting") ?
"selected" : '' ?>
$_POST['hidSubmit'] == TRUE && $_POST['type'] == "event") ?
ct: [PHP] Elegance is the goal... Sticky form submit help
To: "PHP-General list"
Hey everyone!
Hope you are having a great weekend, and I'm hoping someone might be
coherent enough to help me find a more elegant solution to a problem
that I have...
I have a form for submitting an ev
On Sep 11, 2010, at 11:55 AM, tedd wrote:
At 9:49 AM -0400 9/11/10, Jason Pruim wrote:
Hey everyone!
Hope you are having a great weekend, and I'm hoping someone might
be coherent enough to help me find a more elegant solution to a
problem that I have...
I have a form for submitting an e
The debate on client-side vs. server-side form validation is ongoing.
Client-side is more responsive, and attempts to keep bad data from
ever reaching your application, but relies on javascript being
enabled. Since this is something easily turned off by users, one can't
always rely on it to
Rather than repeating all that code, I suggest the following:
-- select type --
$_POST['hidSubmit'] == TRUE && $_POST['type'] == "meeting") ?
"selected" : '' ?>
$_POST['hidSubmit'] == TRUE && $_POST['type'] == "event") ?
"selected" : '' ?>
For a month selector, try:
$months = a
At 9:49 AM -0400 9/11/10, Jason Pruim wrote:
Hey everyone!
Hope you are having a great weekend, and I'm hoping someone might be
coherent enough to help me find a more elegant solution to a problem
that I have...
I have a form for submitting an event to a website, and if the form
is not subm
() instead to check for posted values rather
than comparing a value (which might not exist) with true.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: "Jason Pruim"
Date: Sat, Sep 11, 2010 14:49
Subject: [PHP] Elegance is the goal... Sticky form submit hel
Hey everyone!
Hope you are having a great weekend, and I'm hoping someone might be
coherent enough to help me find a more elegant solution to a problem
that I have...
I have a form for submitting an event to a website, and if the form is
not submitted successfully (such as they didn't fil
13 matches
Mail list logo