Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Using "Email" field for "First Name" on registration.

$
0
0
I am in the process of trimming down the required information for clients to register and would like to move to only being known by email.

I have managed to set almost everything as needed, however I find when the "First Name" is blank, it causes issues linking back to clients through tickets as the text simply does not exist.

To combat this I set a hidden field:
<input type="hidden" name="firstname" id="firstname" value="Client"/>

However this names everyone client, which is not ideal.

I have tried using the email variable such as this, however it did not work:
<input type="hidden" name="firstname" id="firstname" value="{$clientemail}"/>


Does anyone know an easy way to push the "{$clientemail}" variable as the first name upon registration. Maybe I am simply missing something that I am overlooking.

Viewing all articles
Browse latest Browse all 13458

Trending Articles