This discussion is archived
5 Replies Latest reply: Jun 5, 2012 8:19 AM by n_shah18 RSS

APEX Checkbox

Ajay Kapur Newbie
Currently Being Moderated
Hi,

I am trying to create a Checkbox in a report by using function apex_item.checkbox, but instead of the Checkbox being created, the SQL in Source section (attached below) returns the HTML (see below). APEX is not executing the HTML to create the Checkbox, but renders the report below. Why?

SELECT apex_item.checkbox(1, empno, 'UNCHECKED') "Checkbox", empno, ename, modified_by, ticked
FROM emp;

Checkbox EMPNO ENAME MODIFIED_BY TICKED
<input type="checkbox" name="f01" value="7839" UNCHECKED /> 7839 KING - -
<input type="checkbox" name="f01" value="7698" UNCHECKED /> 7698 BLAKE - -
<input type="checkbox" name="f01" value="7782" UNCHECKED /> 7782 CLARK - -
<input type="checkbox" name="f01" value="7566" UNCHECKED /> 7566 JONES - -
<input type="checkbox" name="f01" value="7788" UNCHECKED /> 7788 SCOTT - -
<input type="checkbox" name="f01" value="7902" UNCHECKED /> 7902 FORD - -
<input type="checkbox" name="f01" value="7369" UNCHECKED /> 7369 SMITH - -
<input type="checkbox" name="f01" value="7499" UNCHECKED /> 7499 ALLEN - -
<input type="checkbox" name="f01" value="7521" UNCHECKED /> 7521 WARD - -
<input type="checkbox" name="f01" value="7654" UNCHECKED /> 7654 MARTIN - -
<input type="checkbox" name="f01" value="7844" UNCHECKED /> 7844 TURNER - -
<input type="checkbox" name="f01" value="7876" UNCHECKED /> 7876 ADAMS - -
<input type="checkbox" name="f01" value="7900" UNCHECKED /> 7900 JAMES - -
<input type="checkbox" name="f01" value="7934" UNCHECKED /> 7934 MILLER - -
<input type="checkbox" name="f01" value="8021" UNCHECKED /> 8021 Ajay K - -

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points