Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

adding items to a drop down list

Avatar

Level 4

I got help with this the other day, but now it's not working. I need the items entered into assessment.Objectives.objectivesdetail.objectivesdetail to populate the dropdown list assessment.Questions.Questionset.Questiondetail.MCdetail.qobj.qObj_list

This is the code I have in the exit event of assessment.Objectives.objectivesdetail.objectivesdetail

assessment.Objectives.objectivesdetail.objectivesdetail::exit - (JavaScript, client)

assessment.Questions.Questionset.Questiondetail.MCdetail.qobj.qObj_list.addItem(this.rawValue);

Is there something wrong here? It was working before!

0 Replies

Avatar

Level 10

The 'objectivesdetail' exit event on the form posted updates

assessment.Questions.Questionset.Questiondetail.MSdetail.qobj.qObj_list.addItem(this.rawValue);

not

assessment.Questions.Questionset.Questiondetail.MCdetail.qobj.qObj_list.addItem( this.rawValue);

Steve

Avatar

Level 4

Thanks for your quick reply. That's actually not a typo. I have a few fields that need to populate with that data. I was changing the variable to see if any of them would work. MCdetail and MSdetail are two subforms where I need those values to go.