Hi there

 

I'm in the process of creating a search form which will be used to search
the database and list records that match certain entered selection criteria.

 

What I would like to do is the following.

 

Display the search form 

 


Your Search


Area of Specialty

 Please Select  Abdominoplasty  Arm lift  Blepharoplasty  Body implants
Body lift  Breast augmentation  Breast lift  Cellulite treatment  Cheek
implants  Chin augmentation  Cosmetic dentistry  Cosmetic tattooing 


Your Locale

 Please Select  Australian Capital Territory  New South Wales  Northern
Territory  Queensland  South Australia  Tasmania  Victoria  Western
Australia 


Your City




Gender

 No Preference  Male  Female 


Keyword





 

In the program I have a hidden field called submit.  The value of submitted
is initially set to 0 - so when a person first opens the page only the
search form and instructions are displayed.  Once a person clicks submit the
value of submit is 1.  Basically I have a 

<cfif submitted eq 0> 

Click search button to search our database.

<cfelse>

Display matching records.


Dr Name / Type

Practice Name 

City

Address

Opening Hours 

 


Dr. JOHN CITIZEN 
Cosmetic Surgeon

Cosmetic
<http://localhost/csbd/search/group.cfm?groupid=B04227B1-C0E4-5B61-569EFB109
8021389>  Surgeons

Sydney

Bondi Junction

09:30 AM - 05:30PM 

More
<http://localhost/csbd/search/member.cfm?memberid=B04C1F05-DA2B-13CF-6D09B06
96BEE673F>  Info


Dr. FRED FLINSTONE 
Medical Specialist

Bedrock
<http://localhost/csbd/search/group.cfm?groupid=B04227B1-C0E4-5B61-569EFB109
8021389>  Clinic

Sydney

Double Bay 

09:00 AM - 05:30PM 

More
<http://localhost/csbd/search/member.cfm?memberid=B0591D22-C4F7-5F3B-392260A
6D9B9DC9E>  Info

</cfif>

 

My question is this -----  how to I retain the values that were entered in
the search form - so that a user can check that the records returned are
correct according to the search criteria entered.

 

Thanks in advance for feedback.

 

Regards

 

Pete

 

 

 

 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to