The CreatorCon Call for Content is officially open! Get started here.

Set Comments via onChange client scripts

T_K
Tera Contributor

Hi

Is there any way to set value for 'comments' field via client script? 

I tried it in onChange client script, but not working properly.

 

*for example

change choice value , then set comments in client script

T_K_0-1747623977360.png

↓comments is set, but "Work notes check box" is hidden,and opened "Work notes comments" unintentionally.

T_K_1-1747624185420.png

 

onchange client script code is below

T_K_2-1747625877676.png

 

Regards.

1 REPLY 1

Brian Lancaster
Tera Sage

Are you saying it doesn't work because the work notes field displays and the check box disappears. I think this is just default functionality of the system when using a script to set something in comments. It would also behave the same way if you set comments to mandatory.