After you file

The reason the form does not attach to the return is because you have to start the information by selecting the foreign income question.  If you type in 8938 and jump to it only goes to the foreign accounts page and after you fill all the accounts in it erases your information because you do not have the foreign bank accounts box checked yes.  Once that box is checked all the information from the accounts will print on a form 8938.