I'd like to do something like what's mentioned in this ScriptRunner example. However, I want to do this in a transition screen. I've tried the code in the example, but it doesn't seem to work in transition screens. I'm assuming that behaviours can't execute groovy code on a form, which is what a transition screen likely behaves like, if there was no significant event, such as changing a value before submitting. That's what JavaScript is for. How would I go about using ScriptRunner or JavaScript to replicate that example in a transition screen?
The solution is to use "add a field" in the behaviour, and place the logic in the validator script. This script will execute whenever the field value changes, even if the value isn't saved, so just like a change event in javascript.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.