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

Hello Everyone,

I want set default value on 1 field of website contact us form.

If anyone has idea please share, 

thanks in advance.

Best,

Prince




아바타
취소
베스트 답변

Prince,


You can use 'value' attribute to set the value.


If is normal HTML form can user value.

If related to some calculated value or functional than can use t-att-value


Hope this might help you.

Regards,

AniL

아바타
취소
베스트 답변

Try to modify the default_get function, there you can set the default value, so when you load the page it show the desired value in the field.


Kind regards,

Juanvi

아바타
취소
베스트 답변

Edit the template of contact us from odoo back end and set value attribute for html element

아바타
취소
관련 게시물 답글 화면 활동
2
2월 16
10620
5
1월 24
13820
0
1월 21
2492
5
7월 19
4987
1
5월 16
3935