Forums

PHP

This topic is locked

Automatic Fill in

Posted 22 Jul 2002 13:18:33
1
has voted
22 Jul 2002 13:18:33 Man CHAN posted:
Hi there,

I have a question for insert page. There are a drop down menu to choose "A", "B" or "C". If user choose "C". Then, one of the text field will automatic fill up "Guest".

Is it possible in PHP?

Many Thanks

Replies

Replied 22 Jul 2002 13:30:09
22 Jul 2002 13:30:09 Bruno Mairlot replied:
Hi,

this look like as a JavaScript issue, where you would trigger a action to fill in the textfield in your document with the value guest only if the user selected the option C,

but if you really want to do this in PHP, you'll have the user to reload the page in order to have the textfield filled, but the JavaScript option is better from the user point of view.

Bruno

Reply to this topic