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....
Please Log in or Create an account to join the conversation.
- Topic Author
- Kevin Walsh
- Offline
- Fresh Boarder
- Posts: 3
- Thank you received: 0
7 years 3 months ago
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!
Please Log in or Create an account to join the conversation.
- Zhanna Khachatryan
- Offline
- Moderator
- Posts: 2081
- Thank you received: 135
7 years 3 months ago
Please Log in or Create an account to join the conversation.
- Topic Author
- Kevin Walsh
- Offline
- Fresh Boarder
- Posts: 3
- Thank you received: 0
7 years 3 months ago
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!
Please Log in or Create an account to join the conversation.
- Zhanna Khachatryan
- Offline
- Moderator
- Posts: 2081
- Thank you received: 135
7 years 3 months ago