Building Custom Form Selection Blocks - no JS, all CSS 0 ▲ Raymond Camden 2 hours ago · Tech · hide · 0 comments I apologize for what may be a slightly misleading title. The topic for this post is something I've had on my list of things to explore for some time now, and while I wait for the new job to start, I've found myself with time to kill. Let me explain what I'm talking about and hopefully it will make a bit more sense. You are, dear reader, familiar with form controls and how to build forms both big and small. One type of user interface I've seen from time to time is the ability to select an item where the "item" is an arbitrary block of code. What do I mean by that? Typically a choice element in a form is either a select, checkbox, or radio set. But I've seen some forms where you select something a bit more abstract. Consider the screen shot below: See the two regular text fields and the cat selection? If I pick one, it visually updates: On submitting the form, there will be something representing the selected value, along with any other form field values as well. In theory, the "thing"… No comments yet. Log in to reply on the Fediverse. Comments will appear here.