Ask A Question

Notifications

You’re not receiving notifications from this thread.

2 submit button in 1 form

Amirol Ahmad asked in General

Hi Chriss,

Would like to ask do you have any plan to make a video about 2 submit button in 1 form for example Save as Draft & Publish button when creating a post?

Reply

That's a fantastic topic. I can definitely do that soon!

Reply

Thanks,

Cant wait for that!

Reply

Here you go! I ended up getting to this topic really quickly. :)

https://gorails.com/episodes/forms-with-multiple-submit-buttons

Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 73,723+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.