Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5340 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
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 Răspunsuri Vizualizări Activitate
2
aug. 25
2634
1
iul. 25
1025
1
aug. 25
1151
0
mai 25
1482
2
apr. 25
3632