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

Cell minimum characters validation fails when set to 1

SA-539

Summary



Developer wants to enforce that at least 1 character is entered into a cell. Doing this via minimum character cell validation does not work when setting to 1 character. It only works if we set this to 2 or more. Is this a known bug and if so is there a work around?

Error Messages



Not Applicable 

Steps to Reproduce



Create a flow action/section with a cell and set the minimum characterss to 1 under the Presentation tab. Run the section and try to submit with only 1 character in the cell - no error is shown.


Root Cause



The root cause of this problem is a defect in customer application code/rules.
Using Minimum Characters here is inappropriate, and the recommendation is to use the "Required" validation to enforce this.

Resolution



Checking the "Required" checkbox in the validation form solves this problem.
Suggest Edit

Published March 27, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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