Topic: Item Code length limited in the box for entering.

I have increased the length of the item code in the database, but how do I increase the length of the box during entry. It appears to be limited to maxlength of 25 only.

I used view page source on items.php and the following is shown.

<tr><td class='label'>Item Code:</td><td><input  type="text" name="NewStockID" size="26" maxlength="25" value=""></td>

I used version FA 2.4.13

Re: Item Code length limited in the box for entering.

I tried to change the following from:

        text_row(_("Item Code:"), 'NewStockID', $tmpCodeID, 26, 25, null, "", $post_label);

to

        text_row(_("Item Code:"), 'NewStockID', $tmpCodeID, 41, 40, null, "", $post_label);

It does not work. The field still remains at 25. When I was using a previous version (2.3.xx), I changed from 26,25 to 41,40 and it works. Not sure how to do it in version 2.4.13. Any help is highly appreciated.

Re: Item Code length limited in the box for entering.

Clear cache in FA and in the browser and then try.