Typically, the request for legal fees and costs is made in the motion or petition. You must also include it in your pre-trial statement if that applies. Don't be afraid to bring it up at trial and have proof of expenses.
Yes, there is a way to have opposing party pay for temporary attorneys fees and court costs. Consult with an attorney in your area to discuss the formalities. Many offer free consultations for this very purpose. Good luck to you.
Just remember to always check the box marked "other" on the court forms, and ask for court costs and/or attorneys fees in writing. Unfortunately, as a pro-per litigant, you can't be reimbursed for non-existent attorneys fees, regardless of the time you'll spend researching the law and inquiring about it on this and other sites.
There is much that you could ask for through competent legal representation. You'll learn that you don't usually get much traction in court against an experienced attorney even if you are really, really smart. Further, since you don't have an attorney, I don't see why a judge would award you attorney fees from the other side. Finally, that if you filed the case in most states that I know of, you could have had the court fees waived if you claimed you were destitute. That's my two cents. The advice of the other contributing attorneys is great advice. I am only licensed to practice law in Michigan.