xRM-Portals-Community-Edition icon indicating copy to clipboard operation
xRM-Portals-Community-Edition copied to clipboard

webFormClientValidate function missing

Open bewnetg opened this issue 6 years ago • 2 comments

I'm unable to find the webFormClientValidate() function on a web page that uses Liquid Template and I discovered that it's missing the funcition in AdxStudio.Xrm/Web/UI/WebControls/LiquidServerControl.cs

function webFormClientValidate() { // Custom client side validation. Method is called by the submit button's onclick event. // Must return true or false. Returning false will prevent the form from submitting. return true; }

bewnetg avatar Sep 17 '18 14:09 bewnetg

What is the impact of the function not being present? Is there an error or is something you're trying to do not working?

amervitz avatar Sep 20 '18 19:09 amervitz

The impact is that you cannot do a general client side validation on a WebForm if the page is using a Liquid Template.

bewnetg avatar Sep 26 '18 12:09 bewnetg