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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.