If I understand what you're trying to do, I've done this successfully. I need more detail on how you have this set up. Can you post some screenshots?
Actually this is quite simple using the tab control. In the card editor, create a tab control that is controlled by the part type variable. In the tab name you will list any of the types that you want this number field to appear on. Then put the field completely inside the section for that particular tab.