Jump to content

Additional Domain Field Validation / Pre-Filling / Translation


giminator

Recommended Posts

Hi,

There is 3 questions in this post :

 

1/ Is there a way to use some kind of validation (like a regexp) on an additional domain field ? I have to validate the birth date for registering '.fr' domains.

 

2/ Is it possible to "pre-fill" some of the additional domain fields with information already given by the client (for example, the birth date again for another '.fr' domain)

 

3/ I need to have translations for the options displayed in a dropdown additional domain field. Is it possible ? And can I also have translations for the "Description" variable for the same field (using the lang/overrides/xxx.php files maybe) ?

 

Thx in advance for any reply.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

Regrettably 1-3 are not currently possible. However you can translate the field names using the "LangVar" value.

 

For example to translate the .ca "Legal Type" additional domain field you'd add this to your language overrides file:

 

$_LANG["catldlegaltype"] = "Your Text Here";

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