Every person who is getting off an airplane in Spain needs to fill out the HCF. Even if you are remaining in the airport and only changing planes, the government requires you to fill out the form.