Jump to content

Remove email and country fields from registration form


Negin

Recommended Posts

Hi everyone. I use WHMCS V8.12 and I want to customize my registration form. I want to keep only the phone number and password and remove the other fields.I have found out that I can make some fields optional and then remove the input field in the tpl and submit the form without any errors. But for the email and country, after a huge research I couldn't find anyway safe to remove them without any errors in the submission form or any bugs for the later updates of whmcs. I also couldn't find any plugin in the store to achieve this. Can anyone help me to solve this? I don't want to use the following, because it has some security issues:
 

<input type="hidden" name="email" id="inputEmail" class="d-none" value="N/A">
<input type="hidden" name="country" id="inputCountry" class="d-none" value="N/A">

 

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