How to prevent a form is refreshed ?

Hello,

I’m using Bonita 7.3.2. I have followed the tutorial to create a custom validation form, that is in the secction Howtos (http://documentation.bonitasoft.com/?page=manage-control-in-forms).

All is working fine in the instantiation form, the errors are displayed in the container collection of errors.
The problem start when I go to the next step of the process. I recieve the process, take the process, fill the fields and when I press the submit button to validate the form the errors appear during miliseconds in the container and immediatly the form is refreshed and it clean all the fields.

How can I control that? I need to show the errors in order that users could see what fields are wrong.

Thanks in advance.

Regards,

Geovanny C

Hi Geovanny,

It’s a weird behavior. If you think it’s a bug you can open a ticket to the bug tracker: https://bonita.atlassian.net/secure/Dashboard.jspa
If you’re not sure, maybe you can share your process with us so we can take a look here.

Cheers

Hello Lionel,

Of course. This is my process.

[Process]
[Process]: https://ufile.io/b0d01

In the instantiation form I have three fields:

  • Start date
  • End date
  • Nb days*

In the second form I have only one field

  • Cedula

I have added an example of how to fill that field in the form.

Please, help me with that.

Thanks in advance.

Regards

Geovanny C.