Connecting a two page form via API