how to check text(in my case integers only) entered in to edit should
compared with text strored in structure