Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
11458 Представления

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
10470
5
янв. 24
13597
0
янв. 21
2323
5
июл. 19
4809
1
мая 16
3788