Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5331 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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 Odpovědi Zobrazení Aktivita
2
srp 25
2633
1
čvc 25
1021
1
srp 25
1151
0
kvě 25
1480
2
dub 25
3627