Comment inline:

<cfscript>
If (NOT IsDefined("Form.business_types") AND IsDefined("Form.residents")) {
// "(" removed
   session.ResidentsOnly = yes;
// Don't you need quotes around this yes?
   }
Else {
   If (NOT IsDefined("Form.residents")) AND 
(IsDefined("Form.business_type")) {
// "(" removed
     session.BusinessOnly = yes;
// Don't you need quotes around this yes?
     session.ListOfBusiness = Form.business_types;
     }
   Else {
     session.ResidentsAndBusiness = yes;
// Don't you need quotes around this yes?
     session.ListOfBusiness = Form.business_types;
     }
   }
</cfscript>

Jochem

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to