The fdf package will handle all of the logic used for FDF objects inside of the PDF/FDF document.