Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1462 มุมมอง

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
2591
0
พ.ย. 23
1631
0
ส.ค. 21
2710
3
ส.ค. 25
2287
2
ต.ค. 24
1666