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

how to handle if condition within form layout when the value changes on button click

Summary:

Hi Experts

i have a save button in my page on click of which request id variable value is generated and in page the form layout if condition must update and switch to text component from select single but it is not switching , rather i get error saying ko for closing comment for if condition

($variables.dummy.requestId === undefined || $variables.dummy.requestId === null || $variables.dummy.requestId === '' )

not found.

below is my form layout:

<oj-form-layout>
<oj-bind-if
test="[[ ($variables.dummy.requestId === undefined || $variables.dummy.requestId === null || $variables.dummy.requestId === '' ) ]]">
<oj-label-value colspan="2" id="id-label-VisaReq">
<oj-select-single label-hint="Requested For" id="visaReq" required="true"

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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