Welcome, Guest

zipcode compared to list with "or"
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: zipcode compared to list with "or"

zipcode compared to list with "or" 1 year, 7 months ago #14046

Is it possible to create nested if statements with BF? Like:
if (zipcode != '')zipcode_entry = zipcodeA1 || zipcodeA2 || ...
show html page A1
else if (zipcode != '')zipcode_entry = zipcodeB1 || zipcodeB2 || ...
show html page B1

So it loops through the first if statement zipcodes testing to see if any of the zip codes are a match to what is entered in the blank and if it is, it displays a certain page.
If not, it continues on to the next if statement zip codes and and if it passes that test it displays a different page.

There are about 600 different zipcodes I need to test broken up into 8 unique groups that would be in 8 different if statements.

TIA
  • erimkus
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.29 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany