We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

onChange Client Script is not working

Jen11
Tera Expert

I have the following form:

Jen11_0-1741802812810.png

What I am trying to do is, when 'Operational work type' is selected, I would like to 'Work category' to to populate as well.  I have the following client script, but it is not working:

 

Jen11_1-1741803007072.png

Am i missing something?  Please help! 

 

1 ACCEPTED SOLUTION

Since your custom field that you're trying to set is on the task table, not resource plan, use:

g_form.setValue('task.u_work_category', '4');

View solution in original post

6 REPLIES 6

Jen11
Tera Expert

thank you!  that worked!

You are welcome!

 

 

Connect with me https://www.linkedin.com/in/brad-bowman-321b1567/

Find me @ Knowledge 25!