Jump to content

[ASK] Ganti input type="text" menjadi textarea


Cahyakintaka

Recommended Posts

selamat sore om suhu sepuh. :D

 

ane punya kejanggalan nih yang ngga tau knpa ngga ilang2.

semoga suhu2 bisa bantu yaaa..

 

jadi gini,

- ane pingin field alamat dibikin multi line, makanya ane ganti jadi textarea.

ane udh ganti scrip <input type="text"> jadi scrip ini :

(order-opc-new-account.tpl)

 

 

 

<textarea class="text form-control validate" name="address1" id="address1" cols="60" rows="3" data-validate="isAddress">{if isset($guestInformations) && isset($guestInformations.address1) && isset($guestInformations) && isset($guestInformations.address1) && $guestInformations.address1}{$guestInformations.address1}{/if}</textarea>

 

sukses, tapi setelah di ganti jadi textarea tiap ane masukin inputan.

muncul error mulu.

*alamat1 harus diisi.

padahal field alamat udh ada isinya om.

 

knpa yaaa? bingung nih.  :(

ditunggu bantuannya om.

prestashop v1.6

 

haturnuhuuunn...

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...