Filing NY State taxes when the federal has to be mailed

How do I file my New York taxes when I have to mail in my Federal tax return?  New York requires that I file electronically if I used Tax software to prepare my return.  However my federal return was rejected because I listed my son, daughter in-law and grandsons as dependents (because I pay almost all of their expenses and they filed first).  Turbo Tax will not submit my New York  or New Jersey returns until my federal return is accepted. (I work in New Jersey and live in NY).  What do I do?  Is there a way to let the Turbo Tax software know when the mailed in federal form is accepted?