Maybe you can use ajax commands to render the form.