コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6398 ビュー

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
4307
0
3月 15
4265
1
3月 15
12872
2
9月 23
9936
2
3月 21
8991