Skip to Content
मेन्यू
This question has been flagged
1 Reply
6356 Views

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
Discard
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
Discard

Here is the example:

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

Related Posts Replies Views Activity
4
अग॰ 15
4269
0
मार्च 15
4239
1
मार्च 15
12841
2
सित॰ 23
9890
2
मार्च 21
8964