Passed by reference instead. Thanks for the note.
form alter should return $form...
Oh, thanks, I see there's a small mistake in my original post. I omitted ['#type']. Cheers Alexis
Thanks !
I have installed elements module and then, it works with this code :
$form['mail']['#type'] = 'emailfield';
Glad that helped you out. Thanks for leaving a note.
Passed by reference instead. Thanks for the note.
form alter should return $form...
Oh, thanks, I see there's a small mistake in my original post. I omitted ['#type']. Cheers Alexis
Thanks !
I have installed elements module and then,
it works with this code :
$form['mail']['#type'] = 'emailfield';
Glad that helped you out. Thanks for leaving a note.