<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks for the reply, Simon.  That issue was one of the many I had read, along with countless posts on the Hotwire forum.<div class=""><br class=""></div><div class="">The Turbo handbook's Drive page covers Form Submissions[1] and Redirecting After a Form Submission[2].  It says it'll do the right thing if you repond to an invalid form submission with 422 and a valid one with 303.  But that's on the Drive page, not the Frames page.  Furthermore the Drive page goes on to talk about Streaming After a Form Submission[3], not frames.</div><div class=""><br class=""></div><div class="">Perhaps in this case it's better to use a stream than a frame.</div><div class=""><br class=""></div><div class="">I went with a frame initially so I could easily lazy-load it when the modal was opened.  Later I decided instead to populate the modal with the form at page load – so I'm not getting any real benefit from the frame.</div><div class=""><br class=""></div><div class="">So now I have ditched the frame and changed my controller action to:</div><div class=""><br class=""></div><div class=""><div class="">    def create</div><div class="">      thing = Thing.new thing_params</div><div class="">      respond_to do |format|</div><div class="">        if thing.save</div><div class="">          format.html { redirect_to things_path, status: :see_other }</div><div class="">        else</div><div class="">          format.turbo_stream {</div><div class="">            render turbo_stream: turbo_stream.replace(thing, partial: 'new', locals: {thing: thing})</div><div class="">          }</div><div class="">        end</div><div class="">      end</div><div class="">    end</div></div><div class=""><br class=""></div><div class="">And that works the way I want.  It's still a bit clunky but it's ok for now.  Hopefully one of the various solutions proposed on GitHub will be incorporated into Turbo before too long.</div><div class=""><br class=""></div><div class="">Yours,</div><div class="">Andy</div><div class=""><br class=""></div><div class="">[1] <a href="https://turbo.hotwired.dev/handbook/drive#form-submissions" class="">https://turbo.hotwired.dev/handbook/drive#form-submissions</a></div><div class="">[2] <a href="https://turbo.hotwired.dev/handbook/drive#redirecting-after-a-form-submission" class="">https://turbo.hotwired.dev/handbook/drive#redirecting-after-a-form-submission</a></div><div class="">[3] <a href="https://turbo.hotwired.dev/handbook/drive#streaming-after-a-form-submission" class="">https://turbo.hotwired.dev/handbook/drive#streaming-after-a-form-submission</a></div><div class=""><br class=""></div></body></html>