跳至内容
菜单
此问题已终结
1 回复
5346 查看

 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