Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

XForm editor reverts default value on radio buttons on save


When editing a EPiServer XForm (in the CMS) it seems that the XForm editor does not save the default settings state when working with radio buttons.

What I do: I begin editiong a XForm and, in the XForm editor preview window, I select a radio button collection with has two options ("Private" And "Corporate") with "Private" checked as default. I uncheck "Private" as default (since neither of the two options are to be pre-selected) and press "Save" to save the radio button collection field. The XForm preview updates correctly and shows that no radio button is checked.

But when I try to save the entire form and the XForm preview is reloaded, the radio button collection I just edited reverts back and "Private" is again pre-checked!

Any idea why this happens?

The form is implemented in a Block container and runs in a EPiServer CMS 7.5 MVC.

Apr 16, 2015 8:38

Found the anwser myself; the error occurs if the value-fields in the radion button collection is left blank.

So make sure your value-fields has some kind of value entered, when appropiate.

Apr 16, 2015 9:34
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.