Anonymous
Not applicable

State tax filing

From the Schedule NR instructions:  If you were not a resident of Iowa, Kentucky, Michigan, or Wisconsin, you must attach a statement from your employer, on company letterhead, indicating that your wages were not earned in Illinois and Illinois tax was withheld in error.

It appears your employer should not withhold taxes for the income earned while in Texas.