Conditionals with NULL

  • Автор темы Автор темы jcknick
  • Дата начала Дата начала

jcknick

Client
Регистрация
10.05.2013
Сообщения
154
Реакции
9
Баллы
18
Hi guys,

What I am trying to achieve is to write create if statement or a switch that compares the variable value to "nothing" and if variable has no value - visit a different url.

{-Variable.EMAIL1-}={-Variable.NULL-}
{-Variable.EMAIL1-}=null?
 
Hi guys,

What I am trying to achieve is to write create if statement or a switch that compares the variable value to "nothing" and if variable has no value - visit a different url.

{-Variable.EMAIL1-}={-Variable.NULL-}
{-Variable.EMAIL1-}=null?
'{-Variable.EMAIL1 -}' == ''
 
  • Спасибо
Реакции: jcknick
Argh.. {-Variable.EMAIL1-}={-Variable.NULL-} - this one worked (i messed up with success and fail arrow), but would still be interesting to learn how to do it with a proper code.
 
  • Спасибо
Реакции: jcknick
YESSS! '{-Variable.EMAIL1-}'=='{-Variable.NULL-}' THIS! :)
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)