cancel
Showing results for 
Search instead for 
Did you mean: 

UI Scripting : Enabling Date field based on indicator

Former Member
0 Kudos

Hi,

I am having two fields,

Customer Approved (indicator) and Customer approval date.

When the customerapproved date indicator is set to true , i need the Customer approval date Visible. else it needs to be invisible.

How can i achieve this on UI designer front end scripting in SAP cloud application studio?

Thanks,

Priya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Priya,

There is one property in the UI designer "Visible", you can either directly set to true or false or binding.

However, you can also use the UI script to dynamiclly control this property via using "Calculation Rule".

In that rule, you can add your custom logic for your purpose. Say, once the indicator ticked, you can return the result as true or false based on your requirement.

Hope this help on your question.

Regards,

Qiang

Former Member
0 Kudos

Hi Priya,

Qiangs approach is the way to go.

Bind the Visible-Property of a UI-Control in the UI-Designer to the indicator to determine whether a UI control shall be visible or not, similar to this:

Best regards,

Ludger

Former Member
0 Kudos

Thank you Qiang and Ludger

Answers (0)