Question
GFT
BR
Last activity: 13 Oct 2023 21:32 EDT
Only Numbers in a text box
Hi, I am looking for a way to restrict a text box in a form in order to take only numbers and thus impede the user to put letters, specials caracters etc. I have seen few posts here but none of them seem to have worked for me.
here are some similar topics that I came across during the research on pega support area.
Number Format | Support Center (pega.com)
Validation to only allow numbers in a text box? | Support Center (pega.com)
On property field, in the "Advanced tab", the 'Use Validate' there are some options and the most relevant one was the method "IsInteger", but it is a big number with 11 characters and it won't take as it turn up an erro message saying it is not a valid integer.
Can someone please help with this?
I beforehand appreaciate your help.
***Edited by Moderator Marije to add Capability tags***