title: Assigning the value of P1_tem, depending on what is selected in the checkbox
body: <p>I have a checkbox in oracle apex , there I choose the role of the user. I want the dependencies where there is a tick, I had a value for P_tem! I tried but it did not work, can you help ??</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>DECLARE
  BEGIN
      IF :P30_ROLE_ID = 'Admin' THEN -- checking for the difference
         :P30_NAME :=  '30';
    else 
          IF :P30_ROLE_ID = 'Reader' THEN -- checking for the difference
         :P30_NAME :=  '20'; 
      END IF;
     else 
          IF :P30_ROLE_ID = 'user' THEN -- checking for the difference
         :P30_NAME :=  '10'; 
    END IF;
    END IF;
  END;
     </code></pre>
  </div>
  </div>
  </p>