Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5370 Переглядів

 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
2650
1
лип. 25
1032
1
серп. 25
1151
0
трав. 25
1490
2
квіт. 25
3645