콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5332 화면

 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.

관련 게시물 답글 화면 활동
2
8월 25
2633
1
7월 25
1021
1
8월 25
1151
0
5월 25
1480
2
4월 25
3627