0 Replies Latest reply on Dec 30, 2013 11:09 PM by Comet

    page item validation


      I created a page in APEX Express  On the page there are two items: a text field named P55_KEY_ID and an LOV named P55_REASON with the values LOST, BROKEN, OTHER.  I created a dynamic action that enables P55_REASON when P55_KEY_ID changes. Our business rule is if P55_KEY_ID has been changed then P55_REASON must have a value, i.e. not null.  Can I define a validation on P55_REASON  with a condition to test the disabled property of the page item with javascript, if it is disabled then return false otherwise true.  Where would I place the following javascript?


      IF $x(‘P55_REASON’).disabled then

        Return  false;


      Return true;

      End if;