Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
11516 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
лют. 16
10508
5
січ. 24
13683
0
січ. 21
2391
5
лип. 19
4871
1
трав. 16
3843