How to assign a value in Expression language to binding variable
Summary:
How to assign a value in Expression language to binding variable
Content (required):
I have a requirement that based on the expense type selected I need to default Amount for it. For this I am using page composer and trying below expression, but it is not working. Kindly let me know how it can be corrected.
#{bindings.ReceiptAmount.inputValue = (bindings.ExpenseTypeName.inputValue == 'Airfare') ? 10.00 : bindings.ReceiptAmount.inputValue}
Version (include the version you are using, if applicable):
22D
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
1