Geethanjali Gunasekaran Posted October 8, 2014 Share Posted October 8, 2014 Hi , Iam trying to create my own code for validating the custom fields while adding client from admin end. so i created a hook file inside includes->hooks file is included but the following call is not being initialized when i add a client at admin end add_hook("ClientDetailsValidation",1,"hook_admin_clientsadd"); ClientDetailsValidation is the page which runs while adding , updating a client when hook is included but in my case it is not working even ClientAdd is not working can anyone tell me why it is happening and what i must to do make an hook call 0 Quote Link to comment Share on other sites More sharing options...
mbit Posted October 9, 2014 Share Posted October 9, 2014 "hook_admin_c lientsadd" You have a space in that function name, right after "c" 0 Quote Link to comment Share on other sites More sharing options...
Geethanjali Gunasekaran Posted October 9, 2014 Author Share Posted October 9, 2014 Hi mbit, Thanks for your reply that is not the issue , typo mistake. - - - Updated - - - Custom validation working at client end but it is not supporting at admin end why so , has anyone come across this situation 0 Quote Link to comment Share on other sites More sharing options...
mbit Posted October 9, 2014 Share Posted October 9, 2014 Ah, so... I use the ClientDetailsValidation hook on a regular basis and i've never had any problems. The hook is doing it's job on a registration, account update and adminarea account creation/update. Share your hook code? Or contact the support if you're sure there are no errors in your code. 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.