Hello
i want to know is this possible to add multiple validation rules on same column of a table
and if none of the rules satisfied it shud not save and if it satisfy anyone rule we allow it to save?
like
<validation>
<rule field="name" name="invalidvideolink" type="preg_match" rule="/((|<a.*>?)http:\/\/([\\w+?\\.\\w+]+[a-zA-Z0-9\\~\\!\\@\\#\\$\\%\\^\\*\\(\\)_\\-\\=\\+\\?\\.\\:\\;\\\’\\,])\/watch\\?v=([-\\_!£$%^&*()+=,\\\\.?`¬|\\w]*)(<\/a>)?)/i" message="nvalid video link specified" />
<rule field="name" name="invalidvideolink" type="preg_match" rule="/((|<a.*>?)http:\/\/[Vv][Ii][Dd][Ee][Oo]\\.[Gg][Oo][Oo][Gg][Ll][Ee]\\.(.*?)\/videoplay\\?docid=([-\\\\_!£$%^&*()+=,.\/?`¬|\\w]*).*)|<\/a>?/" message="Invalid video link specified" />
</validation>
i can do that in validation in code but curious about is this possible in xpdo validation
some one give me wisdom plz
thax