how to bind selected combo box value to a input box

hi friends,

                   I have a static entity countrycode and entity attribute code it has

following records

record  code

india    +91

u.s     +1

                  when i select india in combo box i need to get the coresponding code in a input  box and

 similar for other to implement this in outsystems