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

Vote:
 

Hello,

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?

Thanks,

Rams

#185435
Nov 20, 2017 10:54
Vote:
 

I moved this to the Forms forum.

#185455
Nov 20, 2017 17:25
Vote:
 

Hi,

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?

#185464
Nov 21, 2017 9:12
Vote:
 

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

Hope that helps.

#186082
Edited, Dec 11, 2017 20:34
Vote:
 

I think your problem is the same as https://jira.ep.se/browse/AFORM-1445 and some discuss here: https://world.episerver.com/forum/developer-forum/episerver-forms/thread-container/2015/11/episerver-forms-multiple-or-single-choice-option-list-not-localized/?pageIndex=1

#186269
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.