eca_jma

Change call_back_flag status from request_status_change form page

Discussion created by eca_jma on Nov 17, 2014
Latest reply on Nov 18, 2014 by Chris_Hackett

Hi there !

 

We are trying to add the call back field in the request status change form, wich is not complicated and seemed to work.

But apprently the call_back_flag value stays to "0" when the field is populated wich is not the case for other detail_xxxx forms.

 

 

Here's  our code:

<input type="hidden" name="SET.call_back_flag" value="$args.call_back_flag" id="SET.call_back_flag">

 

 

var cbDateCheck = 0;
if ( _dtl.edit)
    cbDateCheck = 1;
if ( "$args.call_back_date_INT_DATE" != "" || ! _dtl.edit ) {

<PDM_MACRO name=dtlDate hdr="Call Back Date/Time" attr=call_back_date>
} else {
   detailDateDropdown("Call Back Date/Time", "call_back_date", 1, 20,
                      "$args.REQUIRED_call_back_date",
                      "SET.call_back_flag",
       3600, msgtext("In_one_hour"),   // In one hour
       7200, msgtext("In_two_hours"),   // In two hours
       10800, msgtext("In_three_hours"),   // In threes hours
       86400, msgtext("In_one_day"),   // In one day
       172800, msgtext("In_two_days"),  // In two days
       604800, msgtext("In_one_week"), // In one week
       1296000, msgtext("In_two_weeks")); // In two weeks
}

 

request_status_change.htmpl SDr12.6.2

 

Any idea ?

Outcomes