generalized linked field dependency (previously limited to write-in fields
updated formfieldSelect for new attribute-based write-in dependency