Page 1 of 1

Formulaire workflow

Posted: Mon Sep 02, 2019 11:18 am
by kouadio
Bonjour,
J'ai créé un formulaire XML suivant afin de l'intégrer à un workflow:

Code: Select all

<workflow-form task="modification">
    <input label="Date" name="date" data="date" type="date" readonly="false" />
    <input label="Direction" name="direction" data="direction" readonly="false" />
    <input label="Quantite" name="quantite" data="quantite" readonly="false" />
    <textarea label="Observation" name="observation" data="observation" readonly="false" />
    <input label="Avis responsable superieur" name="responsable" data="responsable" readonly="true" />
    <input label="Avis controle de gestion" name="cgai" data="cgai" readonly="true" />
    <input label="Avis DAF" name="daf" data="daf" readonly="true" />
    <button name="soumettre" label="soumettre" transition="soumettre"/>
    <button name="annuler" label="annuler" transition="annuler"/>
  </workflow-form>
A ce formulaire, je voudrais ajouter deux (02) champs supplémentaires:
1) Ajouter une photo
2) Importer un fichier au format PDF ou WORD

Merci pour votre assistance.

Re: Formulaire workflow

Posted: Sat Sep 07, 2019 10:33 am
by jllort
Please add the post in english

Re: Formulaire workflow

Posted: Mon Sep 09, 2019 8:44 am
by kouadio
Hello,

I created this following XML form to integrate it into a workflow:

Code: Select all

<workflow-form task="modification">
  <input label="Date" name="date" data="date" type="date" readonly="false" />
  <input label="Direction" name="direction" data="direction" readonly="false" />
  <input label="Quantite" name="quantite" data="quantite" readonly="false" />
  <textarea label="Observation" name="observation" data="observation" readonly="false" />
  <input label="Avis responsable superieur" name="responsable" data="responsable" readonly="true" />
  <input label="Avis controle de gestion" name="cgai" data="cgai" readonly="true" />
  <input label="Avis DAF" name="daf" data="daf" readonly="true" />
  <button name="soumettre" label="soumettre" transition="soumettre"/>
  <button name="annuler" label="annuler" transition="annuler"/>
</workflow-form>
To this form, I would like to add two (02) additional fields:
1) Add a photo
2) Import a file in PDF or WORD format

I would like the XML to add these two fields.
Thank you already for your assistance.

Re: Formulaire workflow

Posted: Thu Sep 12, 2019 6:41 am
by jllort

Re: Formulaire workflow

Posted: Fri Sep 13, 2019 10:09 am
by kouadio
OK thank you very much. It works perfectly