Vaildations in OFBiz

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

Vaildations in OFBiz

naveenchanda
Hi,

I am new to ofbiz implementation and i got a requirement to validate the zip code as per the country and telephone numbers, could any one give me the steps to this.

And, please provide me the steps to do validation for a simple text box, which is empty.

Hope, you will provide me this.


Thanks,
Naveen Chanda
Reply | Threaded
Open this post in threaded view
|

Re: Vaildations in OFBiz

Vikas Mayur-3
Naveen,

You may either want to use client side validation or server side  
validation or even both.

For former you can use javascript and for latter you can use simple  
map-processor.

For map-processor you can read from this link - http://ofbiz.apache.org/docs/minilang.html#Simple_Map_Processor

HTH!

Vikas
On Sep 22, 2009, at 6:23 PM, naveen chanda wrote:

>
> Hi,
>
> I am new to ofbiz implementation and i got a requirement to validate  
> the zip
> code as per the country and telephone numbers, could any one give me  
> the
> steps to this.
>
> And, please provide me the steps to do validation for a simple text  
> box,
> which is empty.
>
> Hope, you will provide me this.
>
>
> Thanks,
> Naveen Chanda
> --
> View this message in context: http://www.nabble.com/Vaildations-in-OFBiz-tp25530708p25530708.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Vaildations in OFBiz

Sumit Pandit-3
In reply to this post by naveenchanda
Hello Naveen,

You can find solution to your requirement at - demo.ofbiz.org, If you  
add few items to cart and then checkout via - https://demo.ofbiz.org/ecommerce/control/anonOnePageCheckout

Thanks and Regards
Sumit Pandit

On 22-Sep-09, at 6:23 PM, naveen chanda wrote:

>
> Hi,
>
> I am new to ofbiz implementation and i got a requirement to validate  
> the zip
> code as per the country and telephone numbers, could any one give me  
> the
> steps to this.
>
> And, please provide me the steps to do validation for a simple text  
> box,
> which is empty.
>
> Hope, you will provide me this.
>
>
> Thanks,
> Naveen Chanda
> --
> View this message in context: http://www.nabble.com/Vaildations-in-OFBiz-tp25530708p25530708.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Vaildations in OFBiz

masionas
In reply to this post by naveenchanda
Form what I see you will have to load zip code -> (country and telephone) data file into ofbiz entity. And write a simple code to make a lookup and match.

naveen chanda wrote
Hi,

I am new to ofbiz implementation and i got a requirement to validate the zip code as per the country and telephone numbers, could any one give me the steps to this.

And, please provide me the steps to do validation for a simple text box, which is empty.

Hope, you will provide me this.


Thanks,
Naveen Chanda