I am not a programmer and am working with the form api. The form I have built has input items grouped together. There is a lot of space under the input items that I would like to get rid of and I have not been able to do it.
The form area code looks like this:
$form['amortable'] = array(
'#type' => 'submit',
'#prefix' => '
',
'#value' => 'To Amortization Table',
);
$form['amount'] = array(
'#type' => 'textfield',
'#prefix' =>'
Loan Amount |
',
'#suffix' =>' |
|
',
'#default_value' => 1000000,
'#size' => 12,
'#maxlength' => 10,
);
$form['amount_increment'] = array(
'#type' => 'textfield',
'#prefix' =>'
Loan Increment |
',
'#suffix' =>' |
|
',
'#default_value' => 50000,
'#size' => 12,
'#maxlength' => 10,
);
$form['rate'] = array(
'#type' => 'textfield',
'#prefix' =>'
Interest Rate |
',
'#suffix' =>' |
|
',
'#default_value' => .045,
'#size' => 12,
'#maxlength' => 5,
);
$form['rate_increment'] = array(
'#type' => 'textfield',
'#prefix' =>'
Interest Increment |
',
|