Calculator logical statements

Kevin Walsh created the topic: Calculator logical statements

Hi,
I am having problems getting the logical operators to work. I have assigned a field for my output and entered the following code into the input box:
(%76% = 1 ? 2 : 3)

I would expect that when field 76 receives an input the statement is evaluated and the result will be 2 or 3.

When I refresh the page the expected field has "0". When I input to Field 76 the output field goes blank.

What am I doing wrong....

#80525

Please Log in or Create an account to join the conversation.


Zhanna Khachatryan replied the topic: Calculator logical statements

Hi Kevin,

Thanks for your inquiry.

Instead of this (%76% = 1 ? 2 : 3), please write this way (%76% ==1 ? 2 : 3).


Kind regards,
Zhanna K.
Web-Dorado team

Try out our brand new plugins:

MailChimp WD
Google Analytics WD

Explore them and share your thoughts!
#80721

Please Log in or Create an account to join the conversation.


Kevin Walsh replied the topic: Calculator logical statements

Yes that worked.

#80841

Please Log in or Create an account to join the conversation.


Zhanna Khachatryan replied the topic: Calculator logical statements

Awesome Kevin!


Kind regards,
Zhanna K.
Web-Dorado team

Try out our brand new plugins:

MailChimp WD
Google Analytics WD

Explore them and share your thoughts!
#80913

Please Log in or Create an account to join the conversation.


Time to create page: 0.168 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us