コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5355 ビュー

 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
2637
1
7月 25
1027
1
8月 25
1151
0
5月 25
1483
2
4月 25
3638