Issue about HTML page

Issue about HTML page

Hi, 


In old edit mode, I can using  the code in HTML  as below:


  1. <%if (count(Dept[Dept_NO == 1])>0){%>
  2. You have already added the department.
  3. <%} else {%>
  4. You need to add department first.
  5. <%}%>
But in new edit mode, I can not using this code in HTML.

It displays "null".

Kindly help me to check it ?