Field validation in schema.xml
05/10/2012 18:24
Defined in schema.xml
//In case we want to have it empty or valid value - but we don't want to have this field required.
<Field ID="{402F153D-F596-43E6-9A24-7FE9AD2647B6}" DisplayName="Default Video Width" StaticName="ExternalVideoDefaultWidth" Name="ExternalVideoDefaultWidth" Group="ExternalVideo Columns" ReadOnly="FALSE" Type="Number" RichText="FALSE">
<Validation Message="Video Width must be greater than 0">=OR(ExternalVideoDefaultWidth>0,ExternalVideoDefaultWidth="")</Validation>
</Field>