[thelist] Design question for Web control user interface

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Mon Feb 16 17:08:42 CST 2004


I would have a second input element, CenterIDSearchOther or something, and
then onchange have the text input appear if value='other' and put focus on
it.  In your form processing script, check for the CenterIDSearchOther value
first.  In php, something like:
$myval = ($_POST['CenterIDSearchOther'] ? $_POST['CenterIDSearchOther'] :
$_POST['CenterIDSearch']);  // Whichever value gets posted is assigned to
$myval

Maximillian Von Schwanekamp
Enabling microbusiness and infopreneurs
NeptuneWebworks.com :: InfoMarketingInsider.net
voice: 541-302-1438
fax: 208-730-6504


-----Original Message-----
From: Sam Carter [mailto:scforum at iness.com]
Sent: Monday, February 16, 2004 2:21 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] Design question for Web control user interface



Now you've got a data entry field in the same place, with the same name and
id, tickety-boo and Bob's y'r uncle :-)

First time I heard that one, but I get the drift.  Problem solved.  Neat.
Shaken not stirred.

I thought it might come to JavaScript on all my FORM pages !

Thanks - it does seem like the way to go.  I suppose if the user fails to
enter anything in the input box, I could redisplay the drop-down list.

I can do all this server-side tho.  It'll cost a postback, but that's ok.

Sam


--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !






More information about the thelist mailing list