跳至内容
菜单
此问题已终结
3 回复
11005 查看

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
10100
5
1月 24
13122
0
1月 21
1882
5
7月 19
4399
1
5月 16
3441