Added logic to populate gform on render