What if catalog variables become editable post-checkout on the catalog task?
here's how to check if the values changed between form load and form submit
display business rule:
store the 'onload' value of a 'delivery_date' variable in a scratchpad:
onsubmit client script:
check if this was changed by the user:
here's how to check if the values changed between form load and form submit
display business rule:
store the 'onload' value of a 'delivery_date' variable in a scratchpad:
g_scratchpad.task_deliverydate=current.request_item.variables.delivery_date;
onsubmit client script:
check if this was changed by the user:
if (g_form.getValue("variables.delivery_date")!=g_scratchpad.task_deliverydate){
//...
}
Comments
Post a Comment