You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by naveen chanda <ch...@gmail.com> on 2009/09/22 14:53:40 UTC

Vaildations in OFBiz

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.


Re: Vaildations in OFBiz

Posted by masionas <mi...@gmail.com>.
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
> 

-- 
View this message in context: http://www.nabble.com/Vaildations-in-OFBiz-tp25530708p25530865.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Vaildations in OFBiz

Posted by Vikas Mayur <vi...@hotwaxmedia.com>.
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.
>


Re: Vaildations in OFBiz

Posted by Sumit Pandit <su...@hotwaxmedia.com>.
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.
>