Originally Posted by
naczyls747
Thank you for the suggestion.. but I dont have issue with label printing.
Just needed assistance to change the single line to multiline.. so that it's easier to read when filling in the form for account creation..
Edit: as in increase the form field size.. to something like below:
I think what's confusing is the why! Input field type text depending on encoding and some other things can do up to 2 GB's... Which if one does you would have to figure out what to do with that data.. thus limiting to what you need is smart.
So, input type text is only one line, you would need to change it to a text field
normal line:
Code:
<label class="inputLabel" for="street-address"><?php echo ENTRY_STREET_ADDRESS; ?></label>
<?php echo zen_draw_input_field('street_address', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_street_address', '40') . ' id="street-address" placeholder="' . ENTRY_STREET_ADDRESS_TEXT . '"' . ((int)ENTRY_STREET_ADDRESS_MIN_LENGTH > 0 ? ' required' : '')); ?>
Modified line:
Code:
<label class="inputLabel" for="street-address"><?php echo ENTRY_STREET_ADDRESS; ?></label>
<?php echo zen_draw_textarea_field('street_address', '22', '7', ' id="street-address" wrap="virtual" placeholder="' . ENTRY_STREET_ADDRESS_TEXT . '"' . ((int)ENTRY_STREET_ADDRESS_MIN_LENGTH > 0 ? ' required' : '')); ?>
Basically a text field 22 charters long and 7 rows high.. You well have to figure out if this makes a legal shipping address or not and chase down the field sanitizing.. For me it would not be worth it.. Helping users with accurate titles, inline help and inline samples is better.
Bookmarks