PropertyValidator in metadata xml

LabKey Support Forum (Inactive)
PropertyValidator in metadata xml Will Holtz  2016-04-14 17:55
Status: Closed
 
In a module-based assay, I would like to configure a field validator within a domain xml file. From the Labkey XSD it appears I want to use <PropertyValidator>, but haven't been able to find any examples in docs, forums or from grepping the source tree. Does anyone have an example of how to restrict a number to a range or match a string to a regex?

thanks,
-Will
 
 
Jon (LabKey DevOps) responded:  2016-04-14 21:12
 
Will Holtz responded:  2016-04-14 21:22
Hi Jon,

That is exactly what I was looking for. I only searched the developer's forum but that post was in the installation/core forum -- oops!

Thanks!
-Will