Hi lev1,
Thank u for ur reply,but expression is not working any way i solve
this problem by using validate method.If possible please give me valid
expression.
Cheers
------
Siva
levi_h wrote:
>
> I'm sorry, the second one is rubbish, of course.
>
> On Thu, May 22, 2008 at 1:45 PM, Levi Hoogenberg
> <[EMAIL PROTECTED]> wrote:
>> Probably something like
>>
>> ((no1 eq 1) or (no2 eq 2)) ? (this gt 1) : (this ge 1)
>>
>> or, if that won't work for some reason,
>>
>> (((no1 eq 1) or (no2 eq 2)) and (this gt 1)) or (this ge 1)
>>
>> On Thu, May 22, 2008 at 1:00 PM, SivaKumarl
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi friends,
>>> I want to validate a field using expression attribute by using
>>> if
>>> conditon
>>> i.e
>>> if(no1==1 || no2= 2)
>>> this.value=1
>>> else
>>> this.value>=1
>>>
>>> please give me hint how to write the about conditon in expression
>>> attribute
>>>
>>> Cheers
>>> siva
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-write-if-condition-in-expression-attribute-tp17401868p17401868.html
>>> Sent from the stripes-users mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> Stripes-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
--
View this message in context:
http://www.nabble.com/How-to-write-if-condition-in-expression-attribute-tp17401868p17422921.html
Sent from the stripes-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users