Jump to content

Dropdown list state


citeglobe

Recommended Posts

Hello,

 

Where, how and wich template to modifiy to make a dropdown list menu for the state when a customer signup in WHMCS ?

 

Because with the domain name .CA if a customer write state/Provice Alberta the registar accept only a two letter for the province (Alberta = AL).

 

Each time the registration domain failure.

 

Thanks,

 

 

MD.

Link to comment
Share on other sites

http://forum.whmcs.com/showthread.php?t=3165

 

We target AU clients so our code is country specific

 

<select name="state" value="{$clientstate}">

<option value="Select a State" {if $clientstate eq ""} selected {/if}>Select a State</option>

<option value="ACT" {if $clientstate eq "ACT"} selected {/if}>Australian Capital Territory</option>

<option value="NSW" {if $clientstate eq "NSW"} selected {/if}>New South Wales</option>

<option value="NT" {if $clientstate eq "NT"} selected {/if}>Northern Territory</option>

<option value="QLD" {if $clientstate eq "QLD"} selected {/if}>Queensland</option>

<option value="SA" {if $clientstate eq "SA"} selected {/if}>South Australia</option>

<option value="TAS" {if $clientstate eq "TAS"} selected {/if}>Tasmania</option>

<option value="VIC" {if $clientstate eq "VIC"} selected {/if}>Victoria</option>

<option value="WA" {if $clientstate eq "WA"} selected {/if}>Western Australia</option>

<option value="OTH" {if $clientstate eq "Oth"} selected {/if}>Outside of Australia</option>

</select>

 

from memory its in a couple of places, although the format may vary slightly in each, depending on whats there now

Try

-clientarearegister.tpl

-clientregister.tpl

-clientareaaddcontact.tpl

-clientareacontacts.tpl

-clientareadetails.tpl

-viewcart.tpl

-creditcard.tpl

 

PS Notepad++ is great for searching inside tpl for text strings ;)

Link to comment
Share on other sites

  • 11 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