The only legal requirement is for the aircraft captains to speak before joining up mid-air. If properly trained then formation flying can be a challenging and rewarding skill, if done without proper training then it can lead to disaster! Our advice is find a suitable instructor, most are ex-military who have years of experience.