Form element names can't have spaces in php. I think it automatically renames them to use underscores, so instead of:
ValidatedField("contactform","Legal Aid Qualify")
try:
ValidatedField("contactform","Legal_Aid_Qualify")
You may just want to avoid underscores in form element names in general to prevent having to do work-arounds like this.