Agent form html integration