Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Prevent recursion caused by Field Change in Client script
Greetings,
I'm attempting to solve for an issue wherein a client script is causing recursion. The case is that when a user checks a box, the client script attempts to affect two other checkboxes for them. However, if one of those boxes is checked as a result of this client script, the script fires again causing a recursion error.
I've been searching through the help but have yet to see how I can prevent the script from invoking itself and only fire upon a change by the user.
Thanks for any suggestions or direction on where to look for this information.
0