How I can set two values using OR in set tag.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How I can set two values using OR in set tag.

Ravindra Mandre-2
Hi all,

How I can use the OR function in <set /> tag under form's actions tag. I
want to pass two values as OR .
consider the following example
productId = 1000
productId = 1001

<set field="productId" value="either 1000 or 1001" />
then I want to set above two values in set as or .

can any body help me to get me. or if it exist, then please let me know .



Ravi
Reply | Threaded
Open this post in threaded view
|

Re: How I can set two values using OR in set tag.

Jacques Le Roux
Administrator
I'd use a groovy snippet, there are plenty of examples in code (not specific to your pb though)

Jacques

From: "Ravindra Mandre" <[hidden email]>

> Hi all,
>
> How I can use the OR function in <set /> tag under form's actions tag. I
> want to pass two values as OR .
> consider the following example
> productId = 1000
> productId = 1001
>
> <set field="productId" value="either 1000 or 1001" />
> then I want to set above two values in set as or .
>
> can any body help me to get me. or if it exist, then please let me know .
>
>
>
> Ravi
>

Reply | Threaded
Open this post in threaded view
|

Re: How I can set two values using OR in set tag.

Ravindra Mandre-2
Thanks Jacques for your reply.


Ravi