Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6394 Переглядів

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"/>

Related Posts Відповіді Переглядів Дія
4
серп. 15
4301
0
бер. 15
4259
1
бер. 15
12862
2
вер. 23
9929
2
бер. 21
8982