using external json, setting up submit form