artaweb Posted October 14, 2018 Share Posted October 14, 2018 Hello guys, I have a custom field for mobile numbers which is /([0-9])+/ Now I want to make it mandatory to 11 characters. Looked in whmcs documentation but no much info about it. I would appreciate your insight. Thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 14, 2018 Share Posted October 14, 2018 2 minutes ago, artaweb said: I have a custom field for mobile numbers which is /([0-9])+/ Now I want to make it mandatory to 11 characters. Looked in whmcs documentation but no much info about it. https://docs.whmcs.com/Custom_Fields#Regular_Expression_Validation if it has to be *exactly* 11 characters... /^[0-9]{11}$/ 0 Quote Link to comment Share on other sites More sharing options...
artaweb Posted October 14, 2018 Author Share Posted October 14, 2018 Thanks Brian. 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.