Question6Replies1566Views raghupathin Member since 2015 8 posts HCL Technologies Posted: 3 years agoLast activity: 3 years 6 months ago Closed Restrict text box to certain decimal pointsHi,I need to restrict a text box to 3 decimals (For ex; User should not be able to enter after 2.123). I tried using pyDecimalPrecision in property but that is not working. I am searching for the exact solution.Regards,Raghu User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 3 years agoHaritha12 PEGA replied to raghupathinHi, For a text property, assign the pxNumber as the control, and in the presentation tab, provide the decimal places to the required number. Posted: 3 years agoLaurenceB_GCS PEGA replied to Haritha12That didn't seem to work for me for some reason. Assuming that you have a Decimal property, you could add the pyDecimalPrecision qualifier to your property (Advanced tab) specifying a value of 3. I don't think this will prevent users from typing more than 3 decimal values, but it should restrict the saved value to 3. Posted: 3 years agoLaurenceB_GCS PEGA replied to LaurenceB_GCSI've tried changing the control to Decimal as well. But again this appears to be reactive (reduces to 3 on submit/save) instead of restrictive. Posted: 3 years agoraghupathin HCL Technologies replied to LaurenceB_GCSHi Bran, Yes, pyDecimalPrecision is not stopping user to enter more than specifica characters but, it will refresh and give you the 3 decimals by rounding off the remaining values. Regards, Raghu Posted: 3 years agoraghupathin HCL Technologies replied to Haritha12Hi Haritha, This approach is only for the read only formatting. But we need something to stop user from entering more than 3 decimals. To be more specific, keyboard should respond after 3 decimals in textbox. Regards, Raghu Posted: 3 years agoraghupathin HCL Technologies replied to raghupathinDoes anyone has solution for this?