bong_hong26
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by bong_hong26
-
-
Thanks!It does take the below Offer ID Format :###A (exp: 407F)#AA (exp: 5JA)#AA# (exp: 5JA1)Another problem is that i've also tested with 55555 or 5aaa5... etc., it seems to be able to take EVERYTHING!! What to do wat to do? Thanks in advance for answering my questions!
-
How do i make change on the Offer ID's digits of the numbers and numbers of letter? Offer ID contains:###A (exp: 407F)#AA (exp: 5JA)#AA# (exp: 5JA1)
{ var errmsg = new String(""); if (document.OrderForm.a_Offer_ID.value.length <= 0 ) { errmsg = errmsg + "\n" + "Required Field is missing: Zonet Rebate Offer ID"; document.OrderForm.a_Offer_ID.focus(); alert (errmsg); return false; } var OfferIDPat = /^[0-9]{3}[a-zA-Z]{2}$/ var matchArray=document.OrderForm.a_Offer_ID.value.match(OfferIDPat) if (matchArray==null) { errmsg = errmsg + "\n" + "Zonet Rebate OfferID format #AA (ie. 5JA)"; document.OrderForm.a_Offer_ID.focus(); alert (errmsg); return false;
js expert, pls help!
in JavaScript
Posted
GOT IT! thank for your help.Can the Offer ID set for the following Format?###A#AA#AA#cuz
will takes this following format as well:##AA##A# is there a posible way?