$form->{defaults} = AM->get_defaults();
- $form->{fokus} = "ic.partnumber";
+ $::request->{layout}->focus("#partnumber");
$form->{CUSTOM_VARIABLES} = CVar->get_custom_variables('module' => 'IC', 'trans_id' => $form->{id});
<table>
<tr>
<th align="right">[% 'Part Number' | $T8 %]</th>
- <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
+ <td><input id='partnumber' name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
</tr>
<tr>
<th align="right">[% 'Part Description' | $T8 %]</th>