Jump to content

Navigation failure in FM GO


Oyseka

This topic is 1826 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all, I need to go to different layouts depending on device and parameters and while the script functions fine for the desktop I can not get it to go to the correct layout in the iPhone. What am I doing wrong.

Sorry all, found my level of stupid and answered it myself.
Edited by Oyseka
Resolved problem
Link to comment
Share on other sites

I believe you have a problem with the order in which operators are evaluated: AND is evaluated before OR. Therefore, when the Quotations::Ref field contains "Action Created", the following condition:

If [ Get ( Device ) = 1 and Quotations::Ref = "Call Out Action Created" or Quotations::Ref = "Action Created" ]

will be true, regardless of the device being used. I think you meant it to be:

If [ Get ( Device ) = 1 and ( Quotations::Ref = "Call Out Action Created" or Quotations::Ref = "Action Created" ) ]

Likewise for the other conditions.

Link to comment
Share on other sites

This topic is 1826 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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