Framework for gravity forms