Were your plants in bloom when you planted them? If so, that's why they didn't return. Foxgloves are biennials meaning they develop foliage one year, come back, and bloom the next. They are not perennials, although they often self-sow so they seem like perennials. Also, they can die off during cold winters, depending on where you live.