how to disable form validation failure error, using CO in OAF
my requirement is i want to employee should not be able to create absence for previous dates, this should only happen only when absence type is Annual Leave,
so im trying to capture the absence type id in CO and accordingly setting the minimum value for OAMessageDateField. ie Start date.
but since start date id a required field, it is throwing form validation error. any solution.
In CO PR.
---------------
In PFR....
----------
OAApplicationModule am = (OAApplicationModule)oapagecontext.getApplicationModule(oawebbean);
if ("update".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM))){
String dtSql= "Select sysdate min_date, sysdate+1 max_date from dual";
// Date currDate = new Date(System.currentTimeMillis());