Avatar

Level 10

Hi Tara,

Try this JavaScript code in the change event of your Item dropdown;

var itemIndex = this.boundItem(xfa.event.change) - 1

Description.setItemState( itemIndex , true )

UnitPrice.setItemState( itemIndex , true )

This gets the index of the selected item in the Item dropdown and sets the Description and UnitPrice with the same index.

Regards

Bruce