Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //php
- case 'textarea':
- $_return['fields'][$_fld->name]['formcode'] = '<textarea placeholder="Комментарий к заказу" id="'
- . $_prefix.$_fld->name . '_field" name="' . $_prefix.$_fld->name . '" cols="' . $_fld->cols
- . '" rows="'.$_fld->rows . '" class="inputbox" '
- . ($_fld->maxlength ? ' maxlength="' . $_fld->maxlength . '"' : '')
- . $readonly.'>'
- . $_return['fields'][$_fld->name]['value'] .'</textarea>';
- break;
- //HTML
- //неправильно
- <textarea placeholder="Комментарий к заказу" id="address_1_field" name="address_1" cols="60" rows="2" class="inputbox"></textarea>
- //нужно так
- <textarea address_1="адрес доставки" id="address_1_field" name="address_1" cols="60" rows="2" class="inputbox"></textarea>
- //правильно
- <textarea placeholder="Комментарий к заказу" id="Kommentariy_field" name="Kommentariy" cols="100" rows="5" class="inputbox" maxlength="1000"></textarea>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement