Beginning to add a generic "addRecordFormElement" functionality