Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Save Draft and Currency Field

SA-9690

Summary



Save Draft button when pressed causes a screen error for currency fields, identifying that they are not the proper "decimal value". This inhibits use of input formatting and draft mode saving simultaneously. It is important to note that submitting the page normally works as intended. The flow progresses. Save draft is the only feature that appears to be impacted.

Error Messages



$xxx is not a valid decimal value

Steps to Reproduce



1. Create a property of type decimal 
2. Include it in a section 
3. In the control's property's Presentation tab, change the symbol to Currency, and check "Display value using read-only formatting" option 
4. During runtime, add a numeric value in this field 
5. Click on OOTB "Save Draft" button 
Observe "$xxx is not a valid decimal value" error


Root Cause



It's needed to override submitWhenFail API in UserWorkForm HTML Fragment.

Resolution



This issue is scheduled to be resolved in update release Pega 7.1.8.

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us