Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5369 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
2647
1
ก.ค. 25
1032
1
ส.ค. 25
1151
0
พ.ค. 25
1490
2
เม.ย. 25
3645