RE: [PHP] autocomplete a field

2005-06-16 Thread Kim Madsen
 -Original Message-
 From: xfedex [mailto:[EMAIL PROTECTED]
 Sent: Saturday, June 04, 2005 4:57 AM
 To: php-general@lists.php.net
 Subject: Re: [PHP] autocomplete a field
 
 Hi,
 
 Anyone know if theres a way to disable this feature for user using old
 browsers or not suporting JS/XML?

It seems there was no replies to this post?

Try autocomplete=off in the input tag:

input type=text name=whatever autocomplete=off

/Kim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-04 Thread Rory Browne
On 6/4/05, xfedex [EMAIL PROTECTED] wrote:
 Hi,
 
 Anyone know if theres a way to disable this feature for user using old
 browsers or not suporting JS/XML?
Put your JS Code in html comments, like as follows...
script ...
!--
JS_CODE_HERE()
//--
/script




 
 Thanks,
 pancarne.
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-04 Thread Burhan Khalid

xfedex wrote:

Hi,

Anyone know if theres a way to disable this feature for user using old 
browsers or not suporting JS/XML?


Look up noscript

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] autocomplete a field

2005-06-03 Thread Olga Urban
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.

Olga

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] autocomplete a field

2005-06-03 Thread Jay Blanchard
[snip]
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
[/snip]

Since PHP is server side it will not do this. Look into JavaScript.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-03 Thread Mikey

Olga Urban wrote:


Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.

Olga

 


That is a client side scripting issue... try javascript...

HTH,

Mikey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] autocomplete a field

2005-06-03 Thread Jim Moseby
 
 Hi, I am new to php and I would like to find out if there's 
 some kind of
 a function that would autocomplete the word/value when the user is
 trying to fill out a field in a form. Thank you.
 

PHP is server side, not client side, where the form is.  You would need to
use javascript for that.

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-03 Thread Philip Hallstrom

Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.


This is a JavaScript issue, but that said...

http://www.pjkh.com/wiki/field_completion

Toot! Toot!

;-)

I'm sure there are others as well.  If you need it to be more dynamic, try 
here:


http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://jpspan.sourceforge.net/wiki/doku.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-03 Thread Joe Harman
Hi Philip!

congrats on being new to PHP... you'll find that PHP is very robust
'Server Side Scripting Language'... you'll probably want to subscribe
to the javascript mailing list for your javascript questions... the
people here want you to keep the questions on this mailing list
restricted to PHP.. also, the subscribers here would appreciate it if
you search the mailing list first, check the PHP manual and Google
before you post your question... it just keeps the repetative
questions to a minumum...

But, I would like to help you out... So, here is a couple of things to
look at... while most of these are pretty advance, they'll show you a
nice combination of javascript and PHP that will give you an auto
complete feature... since you didn't give any details about what info
you want to auto complete (ie users database... search terms) I will
just post to general info for you so you can see how other people are
accomplishing this

(1) You may want to do some reading about application architecture..
Google uses an architecture similar to the one described in the
article below.. the architecture is called AJAX,  XMLHttpRequest... or
what ever you want to call it... but there is some good examples here

http://www.adaptivepath.com/publications/essays/archives/000385.php

(2) this is a great tutorial using PHP and Javascript which references
a dictionary

http://www.developertutorials.com/tutorials/php/google-suggest-with-php-050525/page1.html

http://www.peej.co.uk/articles/rich-user-experience.html

Good luck  Have fun!
Joe



On 6/3/05, Philip Hallstrom [EMAIL PROTECTED] wrote:
  Hi, I am new to php and I would like to find out if there's some kind of
  a function that would autocomplete the word/value when the user is
  trying to fill out a field in a form. Thank you.
 
 This is a JavaScript issue, but that said...
 
 http://www.pjkh.com/wiki/field_completion
 
 Toot! Toot!
 
 ;-)
 
 I'm sure there are others as well.  If you need it to be more dynamic, try
 here:
 
 http://developer.apple.com/internet/webcontent/xmlhttpreq.html
 http://jpspan.sourceforge.net/wiki/doku.php
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
Joe Harman
-
Do not go where the path may lead, go instead where there is no path
and leave a trail. - Ralph Waldo Emerson

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] autocomplete a field

2005-06-03 Thread xfedex
Hi,

Anyone know if theres a way to disable this feature for user using old 
browsers or not suporting JS/XML?

Thanks,
pancarne.