Hi All,
I want to validate a setting of type string.How can I achieve this. The below is my setting array.
settingArray[0] =
new Setting( MENU_ID,
MENU_ID,
MENU_ID,
Setting.REQUIRED,
Setting.SINGLE,
Setting.SUBSTITUTION_ALLOWED,
Setting.STRING);
Here is the setting name is Menu_id which of type string, I want to validate the length of this setting, if I enter menu id as 12345, it should allow only first 3 digits. Is this possible in vfc. Thanks in advance
Are you receiving an error?
No I didn't get any errors, but this setting allow me to enter any length of digit,but it should accept only 3 number digit only.