| View previous topic :: View next topic |
| Author |
Message |
rdacus
Joined: 12 Jun 2009 Posts: 10 Location: Georgia
|
Posted: Mon Aug 24, 2009 10:33 am Post subject: Spec Form API Mask Method |
|
|
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 |
|
 |
Steve
Joined: 17 Jan 2008 Posts: 337
|
Posted: Tue Aug 25, 2009 3:56 pm Post subject: Re: Spec Form API Mask Method |
|
|
| 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 |
|
 |
|