RE:Positive Decimals

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE:Positive Decimals

Reddy, Gopikrishna
Hi,
Iam new to orbeon can anyone help me out in this
 
Iam using xs:decimal for an input field which will allows numbers and decimals,
but how can i make it as positive decimal so that it should not accept negative values.
Here in my case i need both numbers and decimals
 
Thanks in advance ,
K Gopikrishna Reddy
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Positive Decimals

fl.schmitt(ops-users)
Hi Gopikrishna,

> Iam using xs:decimal for an input field which will allows numbers and
>  decimals, but how can i make it as positive decimal so that it
> should not accept negative values. Here in my case i need both
> numbers and decimals

i think you can achieve this with a simple

<xforms:bind nodeset="pathToYourElement" constraint=". ge 0" />

Does this work for you?


HTH
florian




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws