paronne wrote:which version of the svyUtils module are you using ?
As far as I can see, the latest version, 2024.3.0
Installed Version.png
paronne wrote:Base form in sample solution is concatenating error markers from validations; using also svyValidationUtils from the svyUtils module.
This code snippet is the one creating the message
- Code: Select all
function getMessageFromMarkers(markers, separator) {
if (!separator) separator = "\n";
var errorMsgs = [];
for (var i = 0; i < markers.length; i++) {
var errorMarker = markers[i];
errorMsgs.push(errorMarker.i18NMessage);
}
return errorMsgs.join(separator);
}
BUT, that method is not in my module and I can see it on the GitHub page, but not in my local code
Validation Methods.png
paronne wrote:I have tried on version 2024.3.3 and works just fine.
As I stated in my 1st post, this solution is on Servoy 2024.3.2, not 2024.3.3, but I thought the web packages would be ok with a minor version difference like that??
And is there anything else I need to do on my forms/fields to make them call these 'validation methods', as I'm not explicitly calling them (& with all due respect, once again, the online docs/wiki have no information on this [svyValidationUtils nothing on this page
https://github.com/Servoy/svyUtils/wiki ]
Where or how should I be calling something if I need to??
Thanks
Rafi
You do not have the required permissions to view the files attached to this post.