Jump to content

Hook Verify custom field in the client register


Recommended Posts

Hii,

 

I have created some custom fields in my WHMCS to be displayed on the customer's registration page.

 

One of these fields the client must inform the single document of the person.

 

I want to know some way to check if there is already a record in the database according to what the customer inform in the field. How can I do this for a custom field?

 

I noticed he does this check for the email.

 

I know it can be done via HOOK, I even tried to create but I could not, I do not know exactly how it works.

 

Does anyone have an example or do know of any simple way to do this verification?

 

I want to do the verification using the "onblur" event in the input field of the registration page.

 

Thank you very much in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated