How to make some onChange condtion on Suspend Dialog Box client script for workspace

rexter1
Tera Expert

Hi there is the client script with sys_id 165541030b6022006ec86f3ef6673afa nav_to.do?uri=sys_script_client.do?sys_id=165541030b6022006ec86f3ef6673afa that trigger a g_modal window on HR workspace.

Our goal is pretty simple, - I simplify it more here -  if the selected suspended reason is "user" make work note field mandatory, if the reason not user, not.

So somehow we would need an if condition onChange on the rendered "suspended_reason" field. Seems we can achieve this on "backend" but not on Workspace where we need.

Struggling to find a way how can we trigger anything "onChange" on the Reason field,

 

Thanky for any hint! 

 

 

1 REPLY 1

sowmya29
Tera Contributor

Any solution for this ?