You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can't make oj-input-date-time conditionally required or non-required.

Summary:


Content (please ensure you mask any confidential information):

Hi,


I have an oj-input-date-time field which I want to make conditionally required based on the Work Order status. My condition looks something like this:


[[ $variables.getLatestCustomerWorkOrdersWoNumberVar.WoStatusCd !== "ORA_SVC_WO_CANCELED" ]]


The field should be made non-required if the Work Order is canceled. However, even after changing the status (which also changes the variable's value), the input-date-time field's "Required" property is not changed. It works only when the page is loaded.


I have also noticed that setting the date & time through action chain doesn't work properly unless you use the "Call Component" action and refresh the oj-input-date-time field.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!