This is Beda again; I took back the ticket as the feature request is answered and your last query is related to Support/Usage of Toolset.
So to validate a Field in your CRED form you will use the CRED API and PHP.
We provide a Hook (CRED API) that makes sure your Custom Code (PHP or WordPress API) that you code IN the hook will get fired at the correct moment.
Strictly speaking, everything INSIDE the hook is custom code, and these Rules apply:
https://toolset.com/toolset-support-policy/
But I will give you below the information how you can achieve this code and can help review the code you craft if you need.
1. Use this CRED hook:
https://toolset.com/documentation/user-guides/cred-api/#cfv
2. Inside that hook you will address the Single Line Field with:
$fields['wpcf-my_field']//replace my_field with your filed's slug
This is an array, containing:
'value'=> actual field value,
'name'=> field name,
'type'=> field type (eg email, file, image, text etc..),
'repetitive'=> whether this field is repetitive or not
You will of course address the "value".
3. To validate the value you can use the PHP function preg_match() to check if the string of the field contains any character but numbers, dots and commas.
http://stackoverflow.com/questions/26523915/how-can-i-accept-only-letter-number-comma-and-dot-using-php
4. Then you compare the field as shown on our API Doc against the preg_match regex value.
5. Another approach can be to use preg_replace()
This allows you to check the string and directly replace/remove any character of your choice and directly submit the Form content without any error message.
http://stackoverflow.com/questions/4949279/remove-non-numeric-characters-exlcuding-periods-and-commas-from-a-string
hidden link
This last one could even be done on the cred_save_data() action because you don't need to validate, you simply replace what's submitted and do not need to notify the user about any errors.
Please let me know what you choose, and if you need some help of reviewing the code.