Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5366 Представления

 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
2646
1
июл. 25
1032
1
авг. 25
1151
0
мая 25
1489
2
апр. 25
3645