- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
If you create a numeric field called 'number_' with Display and Validation patterns defined as 'num{zz9.99}' and a default value of 123.495949, the value will display as 123.50.
If you create a second numeric field called 'product_' with a calculate event defined as
///////////////////////////////////////////////////////////////////////////////////////////////
// form1.page1.subform1.product_::calculate - (JavaScript, client)
this.rawValue = number_.formattedValue * 80;
///////////////////////////////////////////////////////////////////////////////////////////////
the default patterns will yield a value of '9,880'.
Do you have patterns defined on your the target of the product?
Steve
Views
Replies
0 Likes
Total Likes