Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1342 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 23
2503
0
nov 23
1496
0
ago 21
2606
3
ago 25
2162
2
ott 24
1526