Greetings all,
Currently I have a form that has two lists that contain options.
I use javacript to dynamically move options from one select list to another.
All this works fine...
this is the select:
select name=trucklist size=12 style=width: 150px multiple
option value=LT680LT680/option
Philippe,
I recommend using an ID, instead of the NAME attribute to refer to the
various elements. This ought to solve your problem.
David
Philippe Reynolds wrote:
Greetings all,
Currently I have a form that has two lists that contain options.
I use javacript to dynamically move options
On 31 Jan 2006, at 16:07, Philippe Reynolds wrote:
To resolve this we have to create an array out of our select name:
select name=trucklist[] size=12 style=width: 150px multiple
I added the square brakets to the name...now when I select all the
options on the list I can read all values
Awesome...that solved it!!
Thanks a bunch to everyone who contributed!!
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 31 January 2006 16:08, Philippe Reynolds wrote:
I added the square brakets to the name...now when I select
all the options
on the list I can read all values individually.
Here is problem...my javascripts have stopped working, I
can't move options
from one list to the next. Here is the
I HATE Are you sure? prompts. If I wasn't sure, I wouldn't have
clicked it in the first place.
If you want to make your users happy, trust them when they say
Delete, but make it easy to undo. Instead of deleting the records,
just set the Delete flag and timestamp. Then when the odd user
Are you sure? and then a yes and no buttons to confirm the deletion or
to cancel the command.
Any thougts??
While some of the others here have answered your technical question,
I'd like to state my opinion on usability.
I HATE Are you sure? prompts. If I wasn't sure, I wouldn't have
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot of information from
my MySQL database.
I would like to create a bit of security, in case the user hits the button
by accident.
I would like to create an additionnal window that would appear
[snip]
Are you sure? and then a yes and no buttons to confirm the deletion or
to cancel the command.
Any thougts??
[/snip]
You can use JavaScript for this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Philippe Reynolds [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 11:14 AM
To: php-general@lists.php.net
Subject: [PHP] html forms in php
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot
Good day all,
I have a problem for you all..
I have a form that has has the ability to delete a lot of information from
my MySQL database.
I would like to create a bit of security, in case the user hits the button
by accident.
I would like to create an additionnal window that would
return false ;
}
/script
-Original Message-
From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 12:32 PM
To: 'Philippe Reynolds'; php-general@lists.php.net
Subject: RE: [PHP] html forms in php
Good day all,
I have a problem for you all..
I have
Here's some javascript I use for such instances:
[CODE]
if (myForm.hidWhich.value == delete)
{
var verify = prompt(You are about to delete this entry \n +
\n \n +
To delete this entry you must type this phrase in the prompt
and click OK: \n
that 4.2.2 doesn't like apache2.
Tim Van Zee
ITS Network Specialist
Governors State University
-Original Message-
From: Tim Burden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:07 AM
To: VanZee, Timothy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Html forms to php scripts
What
Here are the results:
Array
(
[ttt] = javattt=java
)
Array
(
[ttt] = javattt=java
)
Tim Van Zee
ITS Network Specialist
Governors State University
[ snip ]
Would be curiuos to see the the results of :
echo pre; print_r($_REQUEST); echo/pre;
echo pre; print_r($_POST); echo/pre;
That
I though we already covered that this was an PHP / Apache 2 bug?? Stop using
Apache 2 with PHP.
---John Holmes...
- Original Message -
From: VanZee, Timothy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:01 AM
Subject: RE: [PHP] Html forms to php scripts
Here
between my html forms and php scripts.
Html file (input.html) looks like this:
form action=input.php method=post
input type=text name=ttt
pinput type=submit name=submit value=Submit/p
/form
Php file (input.php) looks like this:
?
echo $ttt;
?
I can input text (i.e. superman) and then click
between my html forms and php scripts.
Html file (input.html) looks like this:
form action=input.php method=post
input type=text name=ttt
pinput type=submit name=submit value=Submit/p
/form
Php file (input.php) looks like this:
?
echo $ttt;
?
I can input text (i.e. superman) and then click submit
this was a fairly easy
question for those who have been working with php for a while.
I have the following issue between my html forms and php scripts.
Html file (input.html) looks like this:
form action=input.php method=post
input type=text name=ttt
pinput type=submit name=submit value=Submit
What version of Apache are you using? Can you point us to a phpinfo() file?
- Original Message -
From: Timothy Vanzee [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:31 AM
Subject: FW: [PHP] Html forms to php scripts
Repost because
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:31 AM
Subject: FW: [PHP] Html forms to php scripts
Repost because no one replied originally. Are there any other lists
that anyone knows of for php that could be more helpful? I'm quite
disappointed in this one because I thought
thought this was a fairly easy
question for those who have been working with php for a while.
I have the following issue between my html forms and php scripts.
Html file (input.html) looks like this:
form action=input.php method=post
input type=text name=ttt
pinput type=submit name=submit value
I have the following issue between my html forms and php scripts.
Html file (input.html) looks like this:
form action=input.php method=post
input type=text name=ttt
pinput type=submit name=submit value=Submit/p
/form
Php file (input.php) looks like this:
?
echo $ttt;
?
I can input text (i.e
23 matches
Mail list logo