This form has two sides, Side A and Side B. Side A is to be used when your name changed because of marriage, divorce, or pending divorce. Fill out an IFP with the IFP Order, and a Petition for Change of Name.You should complete the caption for each order and the notice. Fill out the Social Security name change form SS5 and take it and all documentation to your local Social Security office. 1. Gather all personal information required for the form. Also in PA, though in a different county. Fill in the Petition completely except for the right side of the heading. The clerk will fill this in at the time you file your Petition. I've been married for over 25 years and have decided to take my husband's last name BUT I'm also changing my middle name. In Pennsylvania, individuals have the option to change their name through a legal process.