reference form macros