Jump to content

Errors on client registration and purchasing related to $clientcountriesdropdown


paperweight

Recommended Posts

I just upgraded to 5.2.4 from 5.1.3. On the register.php and the viewcart.tpl, I am getting errors when users try to register.

 

I have removed the {$clientcountriesdropdown} and its related stuff from all my templates because I do not want a user to provide these details when they register or purchase services. But now when user registers or check-out they get this error message:

 

"Please choose your country from the drop down box"

 

I have temporarily placed the {$clientcountriesdropdown} code back into my templates, and now things work fine. But I wish to not use those code. What changed in the new version that now needs me to include this? How can I safely remove the code and not show users this error message?

Any ideas?

Link to comment
Share on other sites

Thank you for your swift help!

 

I used this instead:

<input type="hidden" name="country" id="country" value="US" />

 

I tried value="notavailable" but it still gave me an error, so then I populated it with a "known" value such as US. But does that make sense? We should be able to put anything in there, right? Any idea why value="notavailable" seems to not work on this particular "country" field?

 

Also, why would WHMCS *not* make "country" an optional field? I think this should be an optional field.

Link to comment
Share on other sites

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