Question concerning select box code
This is a multi-part message in MIME format. --=_NextPart_000_002A_01BF9FD7.D436A800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi, i'm working on a select list box for an update form. what code do i = need to use to:=20 a. populate the box with the value already chosen or b. allow the user to either=20 1. choose the other value(s) in the box or=20 2. enter a value not already there (if possible)? sincerely, --- Hubert Earl ICQ#: 16199853 I develop maintain web sites internationally. I also build web = applications using CGI scripts written in Perl. I accept subcontracting = work. **Personal web site: http://www.geocities.com/SiliconValley/Peaks/8702/ (please remember to view this with a sense of humour!) **Business web page: http://home.talkcity.com/MigrationPath/hearl/ --=_NextPart_000_002A_01BF9FD7.D436A800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2 DIVFONT face=3DArial size=3D2 DIVFONT color=3D#00 face=3D"MS Sans Serif" size=3D2 Phi,/P Pnbsp;i'm working on a select list box for an update form. what code = do i=20 need to use to: /P Pa. populate the box with the value already chosen or/P Pb. allow the user to either /P P1. choose the other value(s) in the box or /P P2. enter a value not already there (if possible)?/P/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial = size=3D2sincerely,/FONT/DIV/FONT/DIV/FONT/DIV DIVFONT face=3DArial size=3D2---BRHubert EarlBRICQ#:nbsp;=20 16199853/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2I develop amp; maintain web sites=20 internationally.nbsp; I also build web applications using CGI scripts = written=20 in Perl.nbsp; I accept subcontracting work./FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Personal web site:nbsp; A=20 href=3D"http://www.geocities.com/SiliconValley/Peaks/8702/"http://www.ge= ocities.com/SiliconValley/Peaks/8702//ABR(please=20 remember to view this with a sense of humour!)/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Business web page:nbsp; A=20 href=3D"http://home.talkcity.com/MigrationPath/hearl/"http://home.talkci= ty.com/MigrationPath/hearl//A/FONT/DIV/BODY/HTML --=_NextPart_000_002A_01BF9FD7.D436A800-- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Question concerning select box code
This is a multi-part message in MIME format. --=_NextPart_000_000D_01BF9FE2.4E93D640 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi, i'm working on a select list box for an update form. what code do i = need to use to:=20 a. populate the box with the value already chosen or b. allow the user to either=20 1. choose the other value(s) in the box or=20 2. enter a value not already there (if possible)? =20 sincerely, --- Hubert Earl ICQ#: 16199853 I develop maintain web sites internationally. I also build web = applications using CGI scripts written in Perl. I accept subcontracting = work. **Personal web site: http://www.geocities.com/SiliconValley/Peaks/8702/ (please remember to view this with a sense of humour!) **Business web page: http://home.talkcity.com/MigrationPath/hearl/ --=_NextPart_000_000D_01BF9FE2.4E93D640 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2 DIVFONT face=3DArial size=3D2 DIVFONT color=3D#00 face=3D"MS Sans Serif" size=3D2 Phi,/P Pnbsp;i'm working on a select list box for an update form. what code = do i=20 need to use to: /P Pa. populate the box with the value already chosen or/P Pb. allow the user to either /P P1. choose the other value(s) in the box or /P P2. enter a value not already there (if possible)?/P/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial = size=3D2sincerely,/FONT/DIV/FONT/DIV/FONT/DIV DIVFONT face=3DArial size=3D2---BRHubert EarlBRICQ#:nbsp;=20 16199853/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2I develop amp; maintain web sites=20 internationally.nbsp; I also build web applications using CGI scripts = written=20 in Perl.nbsp; I accept subcontracting work./FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Personal web site:nbsp; A=20 href=3D"http://www.geocities.com/SiliconValley/Peaks/8702/"http://www.ge= ocities.com/SiliconValley/Peaks/8702//ABR(please=20 remember to view this with a sense of humour!)/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Business web page:nbsp; A=20 href=3D"http://home.talkcity.com/MigrationPath/hearl/"http://home.talkci= ty.com/MigrationPath/hearl//A/FONT/DIV/BODY/HTML --=_NextPart_000_000D_01BF9FE2.4E93D640-- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Question concerning select box code
Something I do. I do server side validation and always submit forms to themselves. At the top I set something like this: cfparam name="variables.home_country" default="0" !--- In here I check if form has been submitted if it has I set: cfset variables.home_country = #formhome_country# !--- error checking --- Send to next page if okay if not show page again with values populated. Then down below I have this: font face="Verdana,Arial,Helvetica" size="1"Country:/font select name="home_country" size="1"option value="" selectedSelect a Country:cfoutput query="application.country_list"option value="#country_id#" cfif #variables.home_country# is application.country_list.country_idselected/cfif#country_desc#/option /cfoutput/select For the option to enter in other I use a blank box below the select box and if they choose other from select box they can enter other information. I do checks on that to make sure they enter something if they choose other. Hope this helps some. -Original Message- From: Hubert Earl [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 06, 2000 2:53 PM To: [EMAIL PROTECTED] Subject: Question concerning select box code This is a multi-part message in MIME format. --=_NextPart_000_002A_01BF9FD7.D436A800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi, i'm working on a select list box for an update form. what code do i = need to use to:=20 a. populate the box with the value already chosen or b. allow the user to either=20 1. choose the other value(s) in the box or=20 2. enter a value not already there (if possible)? sincerely, --- Hubert Earl ICQ#: 16199853 I develop maintain web sites internationally. I also build web = applications using CGI scripts written in Perl. I accept subcontracting = work. **Personal web site: http://www.geocities.com/SiliconValley/Peaks/8702/ (please remember to view this with a sense of humour!) **Business web page: http://home.talkcity.com/MigrationPath/hearl/ --=_NextPart_000_002A_01BF9FD7.D436A800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEAD META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2 DIVFONT face=3DArial size=3D2 DIVFONT color=3D#00 face=3D"MS Sans Serif" size=3D2 Phi,/P Pnbsp;i'm working on a select list box for an update form. what code = do i=20 need to use to: /P Pa. populate the box with the value already chosen or/P Pb. allow the user to either /P P1. choose the other value(s) in the box or /P P2. enter a value not already there (if possible)?/P/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2/FONTnbsp;/DIV DIVFONT face=3DArial = size=3D2sincerely,/FONT/DIV/FONT/DIV/FONT/DIV DIVFONT face=3DArial size=3D2---BRHubert EarlBRICQ#:nbsp;=20 16199853/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2I develop amp; maintain web sites=20 internationally.nbsp; I also build web applications using CGI scripts = written=20 in Perl.nbsp; I accept subcontracting work./FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Personal web site:nbsp; A=20 href=3D"http://www.geocities.com/SiliconValley/Peaks/8702/"http://www.ge= ocities.com/SiliconValley/Peaks/8702//ABR(please=20 remember to view this with a sense of humour!)/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2**Business web page:nbsp; A=20 href=3D"http://home.talkcity.com/MigrationPath/hearl/"http://home.talkci= ty.com/MigrationPath/hearl//A/FONT/DIV/BODY/HTML --=_NextPart_000_002A_01BF9FD7.D436A800-- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.