Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1091 Представления

In online appointments, when you select the time and date you are taken to a details section where the form is and here  I am trying  to add  another question  type which is a file upload  and I cannot find an option to just add that field. 


does anyone know how ?

Аватар
Отменить
Автор Лучший ответ

I mean that worked it is taking the attachments from the user it is just not allowing to to view the submitted attachments!


Аватар
Отменить
Лучший ответ

in python model file
we have a field type - Binary

The File field is used to upload any type of file, or sign a form (Sign widget).

Example
patient_signature = fields.Binary(string="Patient Signature")

so please try this and if you still have any doubts you can ask.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 23
2216
0
окт. 23
1265
0
авг. 21
2363
2
июл. 25
1754
2
окт. 24
1285