Added printing functionality to dynamicinputrecord.