client side validation

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

client side validation

mdraees
hi all,
 
i am new to ofbiz, plese help me to do the client side validations like "required filied", "value renge check" etc



thanks and regards
Reply | Threaded
Open this post in threaded view
|

Re: client side validation

Paul Foxworthy
Hi,

Welcome!

This thread might help.

http://ofbiz.135035.n4.nabble.com/Form-widget-validation-td2234816.html

Cheers

Paul Foxworthy

mdraees wrote
hi all,
 
i am new to ofbiz, plese help me to do the client side validations like "required filied", "value renge check" etc

thanks and regards
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: client side validation

mdraees
thaks for the reply.
i used validation.js, but my task is to compare 2 values , one that is entering in the text box and another field value. i m calling the js onblur of the text box, that time i m getting the value that i was entred, but i m not getting the another value

check code :

 <field name="aaaaa" > <display></display> </field>
          <field name="bbbbb"  widget-style="validate-range"  event="onblur"
                        action="javascript: new Validation('GetItemListForPO', {immediate: true, onSubmit:false}); "><text size="10"></text> </field>



Note :i need to compare aaaaa with  bbbbb