Collect Input not stroing the * and # in collectinput.Digits

How do I capture the input digit entered in the Collect Input widget? My widget will only collect the * and #, but I am unable to get it into a variable like collectinput.Digits. Give me a way to capture these two inputs.