跳至内容
菜单
此问题已终结
2 回复
1267 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
1
11月 23
2421
0
10月 23
1422
0
8月 21
2546
3
8月 25
2062
2
10月 24
1465