title: programmatically set validator message in entity object in adf
body: <p>In the implementation of oracle forms "when-validate-item" trigger in ADF
  The sample code is as shown below.</p>
  
  <pre><code>declare
  sysdate1 date;
  begin
  begin 
  select sysdate into sysdate1 from dual; 
  if to_char(:xdate,'cc') &lt; '20' then 
  message('Verify the Century Please'); 
  message('Verify the Century Please', NO_ACKNOWLEDGE); 
  raise form_trigger_failure; 
  end if; 
  if x_date &gt; sysdate1 then 
  message('You cannot enter future date'); 
  message('You cannot enter future date', NO_ACKNOWLEDGE); 
  raise form_trigger_failure; 
  end if; 
  dp_date();
  end;
  </code></pre>
  
  <p>Is this possible to programmatically  change the validator message in entity object? because i am implementing oracle forms "When-validate-Item-trigger" ,where based on a condition the  error message is changed as above.[ in ADF we can create more than one message] i refer to this statement 
  "The Script Expression validator allows you to enter more than one error message. This is useful if the validation script conditionally returns different error or warning messages" at this link <a href="http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcvalidation.htm#CACCGAJH" rel="nofollow">http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcvalidation.htm#CACCGAJH</a> but did not provide any example, 
  could any body provide me any "pointer" or any other way of implementing this?
  Thanks in Advance.</p>