View Full Version : Enter a variable for size="x" in the new extrafields
April 30th, 2006, 06:02 PM
When adding free text blocks (more than the first six extrafields that are available) have the ability to enter a variable for size="x" in the "<input type="text" size="x"/> HTML so that the width of the field can then be defined and made the same as the other free text input fields on /uploadproduct.php and /editproduct.php
April 30th, 2006, 06:24 PM
Just change in uploadproduct.php the size to 50 from 20
$extraprompts['options'][$x] = "<input type=\"text\" name=\"custom-%%insertid%%_$exid\" value=\"$exoptions\" size=\"50\">";
April 30th, 2006, 07:03 PM
Wicked! I was trying to do that but seeing your posting I've realised I was doing it in the wrong file (uploadproduct.tmpl).
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.