Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hi Folks,
I would like to Auto-populate a field based on other field values?
But here there is one challenge, the same text field should get populate when we select A & B values from the other field.
Here it is working only with one field value either A or B.
How should I make it work for both field values.
The script
def textField = getFieldByName("Data-Domain")
def selectList = getFieldByName("Sub-Issue Type")
def selectListValue = selectList.getValue()
if (selectListValue == "A")
{
textField.setHidden(false)
} else {
textField.setHidden(true)
}
If I write the same script for B value
def textField = getFieldByName("Data-Domain")
def selectList = getFieldByName("Sub-Issue Type")
def selectListValue = selectList.getValue()
if (selectListValue == "B")
{
textField.setHidden(false)
} else {
textField.setHidden(true)
}
The Data-Domain is populating only for B value where as it needs to populate on both selections A & B.
Please suggest.
AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.
Learn more