My son is non-dependent IL resident. He received some income from summer internship in CA reported on a W2. He also has income from Capital gains from sale of stocks (at that time he was not in CA, he was in IL). Will these capital gains still be taxed in CA? In turbotax there is this guidance (snapshot below) 
The only option it gives is to divide the income between CA and other sources, either you check "sale by sale" OR "total amount". There is no option to say N/A or none of the income is from CA. With the Capital gains he owes taxes. What is the appropriate way to file this tax return?