Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Server Side Form Validation Page Shows HTML

$
0
0

I saw a post about this a few years ago, but never an answer.

 

We have some very old forms that use the hidden field type of server side validation to check required fields (_required).  The same forms on ColdFusion 10 return a correctly formatted validation error page.  The form under CF11 returns a page that shows the html tags.

 

The form contains hidden fields like this: <input type="hidden" name="From_required" value="Name of person submitting request is required.">

 

When a form is submitted with an empty field the page displayed looks like this:

Form entries are incomplete or invalid.

   <ul><li>Name of person submitting request is required. </li></ul> Go <a href="javascript:history.back()">back</a> and correct the problem.

 

I know using this type of validation isn't good, but we need to get them over to CF11 as is for now.  I tried changing the form to a cfform, but got the same results.  I also changed the _required to _cfformrequired, but no difference.

 

Any ideas what may be causing this?  Any suggestions appreciated.  Thanks.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>