Skip to Content
मेन्यू
This question has been flagged
1 Reply
5325 Views

 i can display values in xml in <p>    </P> but i wanted to display in input type = text

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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 Replies Views Activity
2
अग॰ 25
2630
1
जुल॰ 25
1018
1
अग॰ 25
1151
0
मई 25
1477
2
अप्रैल 25
3625