4min chapter

Elixir Wizards cover image

Chris McCord and Jason Stiebs on the Future of Phoenix

Elixir Wizards

CHAPTER

How to Use Checkboxes in PHP

The way checkboxes work is if they're not checked in the browser, the browser does not send them. Most web frameworks get around it by always sending a value because they'll do a hidden input and do a checkbox. The ECNO sees that now we have a couple new features on cast in bed and cast ASOG that we call it a sort of parameter and drop parameters. So like thisparameter will appear if they actually check a checkbox and presence means oh, I'm going to either reposition a child, add a child or delete a child. It's really nice that it works outside of live view as well. If you're using dead views and dead forms,

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode