İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
1263 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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


Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 23
2417
0
Eki 23
1420
0
Ağu 21
2542
3
Ağu 25
2055
2
Eki 24
1463