John Kennedy Posted December 19, 2022 Share Posted December 19, 2022 Trying to set up validation for one of the custom fields and it's not working at all - just ignores the regex. Tried using the simplest example at https://docs.whmcs.com/Custom_Fields#Regular_Expression_Validation /^[0-9]+$/ But I can still enter text and special characters in the field and save the changes without any issues at all. I shouldn't be. Am I missing something? Is there an option that needs to be enabled? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 19, 2022 Share Posted December 19, 2022 This is not documented but the thing is Regex validations only work in client area for clients. Backend allows WHMCS administrators to write anything they want with no form of validation. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.