Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Inconsistency between the value entered in CMS and Form Submit



We have a project where we are using episerver forms to implement the requirement.
We have used ChoiceElementBlock , where the users are allowed to enter the Items of their choice.

On the Option element when the value of the property has a "-" dash inbetween, it fails to submit throwing error "unexpected value".
But whilst entering the value in cms it didn't throw any error.

Whereas if I specify "," in the value it promptly says the error.

Any one has a solution how to overcome this?



Nov 20, 2017 10:54

I moved this to the Forms forum.

Nov 20, 2017 17:25


I tried to submit a value from "Multiple or Single choise" element with a value contains "-" dash, and it is still working for both Forms running on JS and non-JS mode. Am I missing something?

Nov 21, 2017 9:12

This happens on Denmark localization, it is all fine with english localization.

Hope that helps.

Edited, Dec 11, 2017 20:34

I think your problem is the same as and some discuss here:

Dec 15, 2017 7:55
* 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.