Top_Speed Posted January 14, 2005 Posted January 14, 2005 Hi all! Hope some phpers can help me... I would like to add this code (to limit the input field length).. 'maxlength="64"' to this line: <?php echo tep_draw_input_field('links_title') . ' ' . (tep_not_null(ENTRY_LINKS_TITLE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_TITLE_TEXT . '</span>': ''); ?> Not sure where it would get placed for proper syntax. Pre Thanks :thumbsup: define('PROJECTS', 'Something that goes on forever!');
Guest Posted January 14, 2005 Posted January 14, 2005 Hi all!Hope some phpers can help me... I would like to add this code (to limit the input field length).. 'maxlength="64"' to this line: <?php echo tep_draw_input_field('links_title') . ' ' . (tep_not_null(ENTRY_LINKS_TITLE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_TITLE_TEXT . '</span>': ''); ?> Not sure where it would get placed for proper syntax. Pre Thanks :thumbsup: <{POST_SNAPBACK}> <?php echo tep_draw_input_field('links_title', '', 'maxlength="64"') . ' ' . (tep_not_null(ENTRY_LINKS_TITLE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_TITLE_TEXT . '</span>': ''); ?>
Top_Speed Posted January 19, 2005 Author Posted January 19, 2005 <?php echo tep_draw_input_field('links_title', '', 'maxlength="64"') . ' ' . (tep_not_null(ENTRY_LINKS_TITLE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_TITLE_TEXT . '</span>': ''); ?> <{POST_SNAPBACK}> Thanks Bobby! Appreciate the tip very much and it works like you posted! KJ define('PROJECTS', 'Something that goes on forever!');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.