I have tried to html encode in the drop down partial the issue then is i get encoded data in the backoffice. Wierd thing is this is only issue when there is validation error after a submit, which in my case is due to incorrect upload type or size of upload to big.
For now i have just replaced the ' in the value with a space. All works just in backoffice for the submitted value you don't see the '. Using ' or ' would result in that showing in the backoffice unless in forms there is way of tapping into that dashboard for viewing a record and using UrlDecode on it.
javascript error on submit
I have a form with a number of a fields. One of the fields is a select the values contain heights which a user must pick e.g
as you can see the value and text contains single and double quotes. The values come from prevalues data type property.
Completing all fields and submitting everything works fine you get the thank you message and you can see submitted data in the backoffice.
When i submit the form with out completing all fields then i get the page back as expected but in console there is js error:
I have tried to html encode in the drop down partial the issue then is i get encoded data in the backoffice. Wierd thing is this is only issue when there is validation error after a submit, which in my case is due to incorrect upload type or size of upload to big.
Anyone seen this before?
If you think it's the quotes could you replace with a different quote symbol? http://www.amp-what.com/unicode/search/quote
Dan,
For now i have just replaced the ' in the value with a space. All works just in backoffice for the submitted value you don't see the '. Using ' or ' would result in that showing in the backoffice unless in forms there is way of tapping into that dashboard for viewing a record and using UrlDecode on it.
Regards
Ismail
is working on a reply...