跳至內容
選單
此問題已被標幟
1 回覆
6197 瀏覽次數

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


頭像
捨棄
最佳答案

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

頭像
捨棄

Here is the example:

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

相關帖文 回覆 瀏覽次數 活動
4
8月 15
4115
0
3月 15
4080
1
3月 15
12623
2
9月 23
9728
2
3月 21
8775