Skip to Content
मेन्यू
This question has been flagged
2 Replies
1237 Views

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 ?

Avatar
Discard
Author Best Answer

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


Avatar
Discard
Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
1
नव॰ 23
2357
0
अक्तू॰ 23
1395
0
अग॰ 21
2499
3
अग॰ 25
1960
2
अक्तू॰ 24
1440