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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner