Merge forms with accordion function