Pass form data to preview script.