Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5348 Tampilan

 i can display values in xml in <p>    </P> but i wanted to display in input type = text

Avatar
Buang
Jawaban Terbai

Hi,

To display value inside a input field,   you can use t-att-value

See the sample,

<input type="text" class="form-control o_website_form_input" name="contact_name" t-att-value="request.params.get('contact_name', '')" required=""/>


Thanks

Avatar
Buang
Penulis

Niyas Bhai Thank You problem solved

Hello Niyas, Input field value how to assign or t-set to variable. Input value each time changing after clicking next and prev button, js onclick function updating input value, but unable to assign variable or display in t-esc.

Post Terkait Replies Tampilan Aktivitas
2
Agu 25
2636
1
Jul 25
1026
1
Agu 25
1151
0
Mei 25
1482
2
Apr 25
3633