Jump to content

Force users to input English characters only in their profile details


EhsanCh

Is this script usefull ?  

12 members have voted

  1. 1. Is this script usefull ?

    • Yes
      10
    • No
      2


Recommended Posts

Automatic domain registration will fail if user details has characters other than English characters

so i made this script to force users to input lnput latin characters in profile input fields

 

1- add this line to top of these files in your template/*/ : clientregister.tpl clientareaaddcontact.tpl clientareacontacts.tpl clientareadetails.tpl , orderform/*/viewcart.tpl

<script type="text/javascript" src="includes/jscript/latindetails.js"></script>

2- upload attached .js file to includes/jscript/ folder

 

Enjoy

Link to comment
Share on other sites

  • 2 months later...

very nice!

now we need a way to allow non-lating characters in the profile details, but custom profile fields for the domain registration (maybe even populated into the same fields used by the registrar modules)...

Link to comment
Share on other sites

  • 9 years later...

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