I'm assuming that when they select a different address from the dropdown you
submit to the page again and query out the values for that address. So why
not just do the query for something that will never return a record when
they select new? Since CF will always  populate a query that returns no
records with null values you could just keep the code the way it is and let
the fields be set as nulls.

jon
----- Original Message -----
From: "Douglas L. Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 12:08 PM
Subject: Form problem


> I have a shipping form for an e-commerce site and have a delima. The
> form is populated from a query that grabs the last shipping address that
> the customer used. I have a dropdown on the page now that gives the user
> the option to choose from the list of addresses they have used in the
> past, and have an option for "NEW". I need to be able to clear the
> fields in the form when they select new from the dropdown. Will it be
> best to populate the dropdown from a structure and have the new element
> be blank?
>
>
> Doug
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to