Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1392 Widoki

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 ?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 23
2556
0
paź 23
1549
0
sie 21
2674
3
sie 25
2223
2
paź 24
1584