hides form once submitted
formats link from json