Hook up form to publication api