Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
1077 Weergaven

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
Annuleer
Auteur Beste antwoord

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


Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 23
2210
0
okt. 23
1256
0
aug. 21
2356
2
jul. 25
1734
2
okt. 24
1274