I have a desire to do a custom search on the Address and Streetname someone enters. I don't want to force them to enter a streetname, though. If the user entered a streetname, use both the StreetName and the AddressDigits to do the search. If the Streetname field is empty, use only the AddressDigits.
I would like to use this logic, or something similar...
Search for entries that meetany constraint
Search for entries that meetall constraints
%(StreetName) <> ""
{[Template]:[Address]=%(AddressDigits)*%(StreetName)*}
Search for entries that meetall constraints
%(StreetName) = ""
{[Template]:[Address]=%(AddressDigits)*}
I can't get this to work. Any thoughts on Syntax? Or can the custom fields not be interrogated that way?
Steve