Skip to Content
Menú
This question has been flagged
3 Respostes
11418 Vistes

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




Avatar
Descartar
Best Answer

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de febr. 16
10449
5
de gen. 24
13563
0
de gen. 21
2302
5
de jul. 19
4783
1
de maig 16
3771