Forum Four51° Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spec Form API Mask Method

 
Post new topic   Reply to topic    Forum Four51° Forum Index -> Pageflex (L3 - L4)
View previous topic :: View next topic  
Author Message
rdacus



Joined: 12 Jun 2009
Posts: 10
Location: Georgia

PostPosted: Mon Aug 24, 2009 10:33 am    Post subject: Spec Form API Mask Method Reply with quote

I have a menu that is using a currency. I put in the code:

spec['price'].mask($99.99');

which is working great when it is a two digit price. Is there an easy way to make it accept either 1 or 2 digits before the decimal using the mask method? Some of the prices are bordering $9.99 and $10.99.
Back to top
View user's profile Send private message
Steve



Joined: 17 Jan 2008
Posts: 337

PostPosted: Tue Aug 25, 2009 3:56 pm    Post subject: Re: Spec Form API Mask Method Reply with quote

rdacus wrote:
I have a menu that is using a currency. I put in the code:

spec['price'].mask($99.99');

which is working great when it is a two digit price. Is there an easy way to make it accept either 1 or 2 digits before the decimal using the mask method? Some of the prices are bordering $9.99 and $10.99.


Unfortunately the mask isn't that flexible yet. It is something that has been asked before and it under consideration. It's just not that easy to do.
_________________
Steve

You can read about other advanced tech topics on the http://www.insightsfour51.com/?cat=3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forum Four51° Forum Index -> Pageflex (L3 - L4) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group