You are viewing limited content. For full access, please sign in.

Question

Question

apostrophe in name erroring on forms

asked on August 25, 2020 Show version history

we are currently using forms 10.3.0.975

 

we have a name field that is being populated from a database.  if the name includes an apostrophe it is substituted with '

On form submission, these characters are triggering an error :

"One or more form fields contains illegal character combinations (e.g., "&# or '<' next to (a-z, /, ?, !)"). Please resubmit the form without these characters. [LFF2111-RequestValidationException]"

 

is there a way to mask the &#39; with a '     and is there a way to not get an error on submission? 

 

1 0

Replies

replied on August 25, 2020

The validation is performed by ASP.NET with the default requestValidationMode of 4.0 to prevent field data contains HTML, Forms side get this error and wrap it up with a more friendly error to end user. The validation in ASP.NET can be turned off by adding following settings in the web.config:

<location path="Form/Submit">
<system.web>
<httpRuntime requestValidationMode="2.0"/>
</system.web>
</location>

 

You can refer to https://answers.laserfiche.com/questions/155865/Forms--What-happened-to-my-data#159202 for more details.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.