Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Multible IF statement not working?

Featured Replies

This is probably a easy one, stops returning false on color after I add the second color condition. For example always returns true if either "Make" is true. If I take out one of the color conditions, then works fine.

If [((Car::Make = "Geo")or(Car::Make = "VW"))

and

((Car::Color ≠ "Silver")or(Car::Color ≠ "Black"))

I'm sorry i don't understand the problem.... what's it meant to do?

  • Author

If the user picks from the drop down menu either "Geo" or "VW" and any other color other then "Silver" or "Black" they will recive a custom dialog box that explains we cant have that car in stock.

At first glance: "Silver" ≠ "Black". It seems you want:

( Make = "Geo" or Make = "VW" )

and

( Color ≠ "Silver" AND Color ≠ "Black")

  • Author

Ok, yea... that makes sense.. I also simplfied my quotes to match yours, and great! it works. Thank you.

Good. I would also suggest you re-think your strategy of hard-coding data into scripts and calculations, and use relationships instead. What if Geo becomes available in red?

Using relationships, you can even limit the user's color choices based on the selection of the make (search the forums for "+conditional +value +list").

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.