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

Reply via email to