コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
11515 ビュー

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
10508
5
1月 24
13683
0
1月 21
2391
5
7月 19
4871
1
5月 16
3843