Forum Discussion
christopher_gillis
7 years agoCommunity Manager
Hi Maddy,
You can look at the code sample below in the gist below for an example of how to get the value of the related_option and then perform some conditional logic based on that value.
https://gist.github.com/cgillis-aras/b165c962a9d8867d31868c22521314c2.js
I've recently run into issues with embedding gists in the forums, so you can also find the code linked here.
Chris
Christopher Gillis
Aras Labs Software Engineer