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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Feb 16
|
10459 | ||
|
5
Jan 24
|
13581 | ||
|
0
Jan 21
|
2311 | ||
How to add Fields in Form
Diselesaikan
|
|
5
Jul 19
|
4796 | |
|
1
Mei 16
|
3780 |