implementation for new field template of xrowformgenerator