Union between autocomplete with a integer field

What is the problem? Please be detailed.
I am try to get a union between a select one of a big list of materials and an integer field, for example, when i select a material inmediatly appear an integer field for this material.
What ODK tool and version are you using? And on what device and operating system version?
odk collect v1.19.0 in an android device, sansung j6.
What steps can we take to reproduce the problem?

What you have you tried to fix the problem?
I do a select one list with an autocomplete in appear column, but i want to link it with an integer field, how i do that?

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

What do you mean "link" Maybe you can write out an example of what should happen when a user selects Material A vs Material B vs Material C.