Page 1 of 1

Visuals of Validation fail with Template

PostPosted: 21 Sep 2017 16:18
by mrcarver
CG Gurus,

I am working on a public facing app that requires templates. Attached is two screen shots, WITHOUT and WITH templates.

Please advise how to properly render the visual validation when using templates. Notice how only the first control is rendered when using templates. The ONLY change was adding a template.

Regards,
Monte Carver

Re: Visuals of Validation fail with Template

PostPosted: 22 Sep 2017 10:10
by Alexander Bulei
Hi mcarver,

Please advise how to properly render the visual validation when using templates. Notice how only the first control is rendered when using templates.


Please explain better the problem.

Best Regards.

Re: Visuals of Validation fail with Template

PostPosted: 22 Sep 2017 16:47
by mrcarver
Alexander,

There is not much more to explain. A page with a template only renders the validation for the first control.
Attached is the IW Demo: "Phonetics Customer Profiler ", which clearly demonstrates the issue.

On the main page I have added the controls I snapped in the previous post. When you click "Test", only the first control (i.e. eNameFirst) renders the validation text.

Rename the template file "formMain.html", and ReRender that same page and it will work as expected.

Please advise on a path forward. The consistency of the validation text is VERY appealing. I look forward to capture server side validation as well.

Regards,
Monte Carver

Re: Visuals of Validation fail with Template

PostPosted: 26 Sep 2017 17:26
by mrcarver
Any thoughts?

Re: Visuals of Validation fail with Template

PostPosted: 26 Sep 2017 18:18
by Alexander Bulei
Hi mrcarver,

At this moment, the validation feature is not working with templates, because template processor remove the forms for each input element.

Best Regards.