Project:Author Contact
Version:5.x-1.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

The input fields for Name and Email are much wider than the dynamic Comment section. How can I adjust the length of the Name and Email Fields?

Thanks in advance!

Comments

#1

I don't know about 5.x-1.2, but in 6.x-1.1 after doing some changes to authorcontact.module the input fields look better:

$form['sendername'] = array(
'#title' => t('Your name'),
'#type' => 'textfield',
'#size' => 16, //change #1
'#required' => true
);
$form['senderemail'] = array(
'#title' => t('Email'),
'#type' => 'textfield',
'#size' => 16, //change #2
'#required' => true

#2

You can also just style these with CSS

#edit-sendername, #edit-senderemail, #edit-sendercomment {width:94%;}

nobody click here