Hi,
is it possible to disable the field switches at a behaviour?
I need a behaviour for a custom field (cascading select) which only fires my server-side script but I don't want the switches to do anything.
This is my script:
-------------
def triggerField = getFieldByName("Produkt/Modul")
def fieldToHideOrShow = getFieldByName("advantage-Version")
def valueToCheck = triggerField.getValue() as ArrayList<String>
if (valueToCheck.get(0) == "advantage") {
fieldToHideOrShow.setHidden(false)
fieldToHideOrShow.setRequired(true)
}
else {
fieldToHideOrShow.setHidden(true)
fieldToHideOrShow.setRequired(false)
}
--------------
It works fine but I don't want the field switches because they do changes to the field "Produkt/Modul" itself.
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.