Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6199 Tampilan

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
Buang
Jawaban Terbai

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
Buang

Here is the example:

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

Post Terkait Replies Tampilan Aktivitas
4
Agu 15
4116
0
Mar 15
4080
1
Mar 15
12624
2
Sep 23
9734
2
Mar 21
8775