Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

webFormClientValidate function missing #80

Open bewnetg opened 5 years ago

bewnetg commented 5 years ago

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; }

amervitz commented 5 years ago

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

bewnetg commented 5 years ago

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