How to ask the court for a temporary restraining order, temporary injunction, and temporary orders during a child custody emergency. This article discusses actions for various temporary orders in emergency situations where the DFPS might be getting involved.Learn how to file for emergency custody in Texas with our stepbystep guide. Ensure your child's safety and the legal process involved. Fill out one copy based on what you are asking the judge for, and keep the other copy blank. To give someone temporary custody of your child in Texas, you must first file a petition with the court requesting the transfer of custody. You can get temporary custody forms in Texas from the Courts, which your lawyer can help you properly fill out. These forms are for use in district court. Some Texas counties conduct family matters in county court. Send temporary injunction via email, link, or fax.