跳至內容
選單
此問題已被標幟
1 回覆
5344 瀏覽次數

 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.

相關帖文 回覆 瀏覽次數 活動
2
8月 25
2634
1
7月 25
1025
1
8月 25
1151
0
5月 25
1482
2
4月 25
3632