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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.