Time's up. The sale is over
Time's up. The sale is over
Illustration of a microphone

Calls with Kent C. Dodds.

You call, I'll answer.

Listen to the podcasts here
Phone sitting on a stool

What's this all about?

The goal of the Call Kent Podcast is to get my answers to your questions. You record your brief question (120 seconds or less) right from your browser. Then I listen to it later and give my response, and through the magic of technology (ffmpeg), our question and answer are stitched together and published to the podcast feed.

I look forward to hearing from you!

Record your call

Calls with Kent C. Dodds Season 4 — 46 episodes

33.A Button Per form or One Form with Multiple Buttons
04:50
Keywords

forms, multiple, dropdown

Description

Hi Kent,

It's Jan 👋

When creating a dropdown menu (e.g. to pick a role in an organization), would you wrap the whole menu in a form tag and then render multiple buttons within that form (one for each role)? Or would you render multiple forms (one for each role) with each having their own submit button?

Thanks a ton if you answer!

Best regards, Jan

A Button Per form or One Form with Multiple Buttons
33.A Button Per form or One Form with Multiple Buttons
04:50
Keywords

forms, multiple, dropdown

Description

Hi Kent,

It's Jan 👋

When creating a dropdown menu (e.g. to pick a role in an organization), would you wrap the whole menu in a form tag and then render multiple buttons within that form (one for each role)? Or would you render multiple forms (one for each role) with each having their own submit button?

Thanks a ton if you answer!

Best regards, Jan

A Button Per form or One Form with Multiple Buttons
33.A Button Per form or One Form with Multiple Buttons
04:50
Keywords

forms, multiple, dropdown

Description

Hi Kent,

It's Jan 👋

When creating a dropdown menu (e.g. to pick a role in an organization), would you wrap the whole menu in a form tag and then render multiple buttons within that form (one for each role)? Or would you render multiple forms (one for each role) with each having their own submit button?

Thanks a ton if you answer!

Best regards, Jan

A Button Per form or One Form with Multiple Buttons
33.A Button Per form or One Form with Multiple Buttons
04:50
Keywords

forms, multiple, dropdown

Description

Hi Kent,

It's Jan 👋

When creating a dropdown menu (e.g. to pick a role in an organization), would you wrap the whole menu in a form tag and then render multiple buttons within that form (one for each role)? Or would you render multiple forms (one for each role) with each having their own submit button?

Thanks a ton if you answer!

Best regards, Jan

A Button Per form or One Form with Multiple Buttons

Looking for more content?

Have a look at these articles.

See the full blog