Jump to content

Mask on the field phone


tiagocaus

Recommended Posts

Good night.

Like a mask on the field phone to create a partão because customers diditam with spaces, characters, etc ...

 

/whmcs/templates/default/clientregister.tpl

 

I'm using:

 

 

<script src="includes/jscript/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="includes/jscript/jquery.maskedinput-1.3.min.js" type="text/javascript"></script>

{literal}
<script type="text/javascript">
jQuery(function($){
$("#phonenumber").mask("(099)9999-9999?9");
});
</script>
{/literal}

 

 

But when I put does not record when you click register, go to the login screen:

 

 

 

 

What to do?

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