<div dir="ltr"><div><div><div><div><div> Hi,<br><br></div>I am setting validation rule for elements which are under tab.<br><br></div>One tab contains Nested elements for which I am trying to set the validation rule.<br><br></div>Validation are working fine for all elements under tab but validation for element for nested is not working.<br><br></div>The default value for the nested element is working fine but validation seems not working.<br><br></div>Can you please help on this? What could be the issue?<br><div><div><div><div><div><div><div><div><div><div><div><div><br><br><resourcebundle name="my.template.workplace" /><br>            <tabs><br>                <tab element="Heading" collapse="false" name="General" /><br>                <tab element="Author" collapse="false" name="Author" /><br>                <tab element="SubMainContent" collapse="true" name="SubMain" /><br>            </tabs><br>            <defaults><br>                <default element="SubMainContent/Title" value="%(key.title.oceanofsky)" /><br>            </defaults><br>             <validationrules><br>                <rule element="Heading" regex=".+" type="error" message="heading must not be empty." /><br>                <rule element="Author" regex="\w{3,}.{0,}" type="error" message="Author name must start with at least 3 characters."/><br>               <span style="background-color:rgb(11,83,148)"> <rule element="SubMainContent/Text" regex=".+" type="error" message="heading must not be empty." /> </span><br> </validationrules><br><br></div><div>-Ashish<br></div></div></div></div></div></div></div></div></div></div></div></div></div>