fix(generic form): pass result to callback