Form error

Hello,
I’m trying to use radio button in my form, but I have this error
Form failure: Cannot add variable with name radioChoice: already exists.

Could you help me to solve this issue ?

This is the form in attachement approva-1 - Copia.html.txt (3.7 KB)

Hi @oronzo_lezzi,

As per the docs, radios and check boxes are unsupported.

Find below URLs for all supported HTML controls

https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/inputs/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/textarea/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/date-inputs/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/boolean-inputs/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/select/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/hidden/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/files/
https://docs.camunda.org/manual/latest/reference/embedded-forms/controls/bpmn-buttons/

“If an HTML control is not supported, you need to write custom JavaScript”
(https://docs.camunda.org/manual/latest/reference/embedded-forms/javascript/lifecycle/#implementing-custom-fields).

1 Like

Thank you for your quick response. Previously I had tried a form version (witout errors from Tasklist) with checkboxes, but I was unable to make them exclusive. In any case, I will pass the link to the colleague who will take care of the development