Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6376 Widoki

Hi there,

I am playing with email forms. I ve got some inputs that doesn't have to be filled in by customer so I made them hidden:

<input type="text" name="name" hidden="true" value="user_id.partner_id.name"/>
The question is how to insert field value as a form "value" (example above doesn't make a job). Thanks:)


Awatar
Odrzuć
Najlepsza odpowiedź

Hello Piotr Cierkosz,

You need to change the attribute "value" to "t-att-value" in the input tag.
t-att-value is used for set the dynamic value in form.

Please find Example in Comment.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Awatar
Odrzuć

Here is the example:

<input type="text" name="name" hidden="true" t-att-value="user_id.partner_id.name"/>

Powiązane posty Odpowiedzi Widoki Czynność
4
sie 15
4283
0
mar 15
4250
1
mar 15
12855
2
wrz 23
9926
2
mar 21
8973