Try our conversational search powered by Generative AI!

Missing value from checkboxes in xform postdata

Vote:
 

Hi,
We have a form built using XForms in EPiServer CMS 7.5 and MVC.
Some of the form options are checkboxes and when the form is sent/posted, some checkboxes always uncheck themselves during the post so that wrong information gets sent to our customer. I have found that long names/values for the checkbox gives different results.

For example, a checkbox with name/value set to:
"Fast telefoni. Har du fast telefoni ska den utvändiga telefonledningen vara skyddad från sabotage."

Will be cleared when sent while one with a shorter text such as "Option1" works.

Does anyone know why this happens?

#88389
Jul 10, 2014 14:04
Vote:
 

Hi Johan!

Is that the lable text or the actual 'internal' name of the checkbox? Iirc you can't use swedish characters/whitespaces for the latter in vanilla.

// Mathias

#88402
Jul 11, 2014 9:04
* 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.