Either Or Question

strange

Client
Регистрация
14.09.2012
Сообщения
7
Благодарностей
0
Баллы
1
Is there a way to use "Either, Or Logic" with variables.
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You can use OR. Just put a pipe between your inputs for logic....

Email\ sent|Confirmation\ sent
 

strange

Client
Регистрация
14.09.2012
Сообщения
7
Благодарностей
0
Баллы
1
ok, i set {-Variable.c-} to 1 and {-Variable.d-} to 2.

next for {-Variable.e-}, i set it to {-Variable.c-}|{-Variable.d-}

but i can't get it to be either 1 of them
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Where you try to use it?
Screenshot of action's settings?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
yeah, that's strange
 

strange

Client
Регистрация
14.09.2012
Сообщения
7
Благодарностей
0
Баллы
1
this is a sample
 

Вложения

sMax

Client
Регистрация
04.05.2011
Сообщения
132
Благодарностей
49
Баллы
28
You could use javascript for that

({-Variable.c-}||{-Variable.d-}) and set that to variable.last
put variable.last as the value
 

strange

Client
Регистрация
14.09.2012
Сообщения
7
Благодарностей
0
Баллы
1

strange

Client
Регистрация
14.09.2012
Сообщения
7
Благодарностей
0
Баллы
1
double post
 
Последнее редактирование:

sMax

Client
Регистрация
04.05.2011
Сообщения
132
Благодарностей
49
Баллы
28
You put it in a javascript action and it didn't work?
It works on my machine.

But that logic may always give you the same result.
You need to rethink what you're doing. Maybe use random indexes with a list.
 

Вложения

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
You should use spintax here.
 

Вложения

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