Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6423 Prikazi

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:)


Avatar
Opusti
Best Answer

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

Avatar
Opusti

Here is the example:

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

Related Posts Odgovori Prikazi Aktivnost
4
avg. 15
4315
0
mar. 15
4288
1
mar. 15
12901
2
sep. 23
9949
2
mar. 21
9020