I have the following display on the screen:
checkbox Item Name Condition Qty
Computer Usable 5
Monitor Unusable 3
Hard Drive Usable 6
Item Names and check boxes are displayed. User selects condtion from the drop down list which can be either Usable or Unusable. User types in Qty.
My question is if user selects computer and hard drive, if by mistake a user has selected condition for Monitor or typed qty for Monitor - it should blank out at the time of submission. Remember Condition and Qty are two separate fields. Item and Check box is one field. How can I associate Item name to condition and qty? How can I blank out the value for condition or qty for those items which are not selected?
Any helps would be greatly appreciated. Thanks in advance.
checkbox Item Name Condition Qty
Computer Usable 5
Monitor Unusable 3
Hard Drive Usable 6
Item Names and check boxes are displayed. User selects condtion from the drop down list which can be either Usable or Unusable. User types in Qty.
My question is if user selects computer and hard drive, if by mistake a user has selected condition for Monitor or typed qty for Monitor - it should blank out at the time of submission. Remember Condition and Qty are two separate fields. Item and Check box is one field. How can I associate Item name to condition and qty? How can I blank out the value for condition or qty for those items which are not selected?
Any helps would be greatly appreciated. Thanks in advance.