extend sqlcustomform to support widget/represent