Hi there,
I am using the User module with option ‘use e-mail as username’ turned on.
Now, I would like to simply the registration page:
<form id='register_member_form' method="post" action="http://www.psaholland.org/index.php" >
<div class='hiddenFields'>
<input type="hidden" name="XID" value="{XID_HASH}" />
<input type="hidden" name="ACT" value="7" />
<input type="hidden" name="RET" value="http://www.psaholland.org" />
<input type="hidden" name="FROM" value="" />
<input type="hidden" name="site_id" value="1" />
</div>
<fieldset id="registerform">
<div><label for="e-mail">E-Mail (wordt in principe niet getoond in het sprekersprofiel):</label><br>
<input type="text" name="email" value="" maxlength="100" class="text" />
<input type="hidden" name="username" value="" maxlength="100" class="text" /></div>
<div><label for="password">Password:</label><br>
<input type="password" name="password" value="" maxlength="32" class="input" size="25" /></div>
<div><label for="passwordrepeat">Password:</label><br>
<input type="password" name="password_confirm" value="" maxlength="32" class="input" size="25"</div>
The thing is, that I would actually like to copy the e-mail field into the username field. This because username and e-mail are mandatory, but the same and I would like to ask the user just once.
What would be the solution for this one?
Erwin
