Expand my Community achievements bar.

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!

3 Replies

Avatar

Former Community Member

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.