Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

webFormClientValidate function missing #80

Open
bewnetg opened this issue Sep 17, 2018 · 2 comments
Open

webFormClientValidate function missing #80

bewnetg opened this issue Sep 17, 2018 · 2 comments
Labels
help wanted Issues that have not been solved and community contributions are requested to resolve the issue.

Comments

@bewnetg
Copy link

bewnetg commented Sep 17, 2018

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
Copy link
Contributor

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
Copy link
Author

bewnetg commented Sep 26, 2018

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

@amervitz amervitz added the help wanted Issues that have not been solved and community contributions are requested to resolve the issue. label Jan 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Issues that have not been solved and community contributions are requested to resolve the issue.
Projects
None yet
Development

No branches or pull requests

2 participants