a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by thundara
thundara  ·  3823 days ago  ·  link  ·    ·  parent  ·  post: HUBSKI ANIME CLUB: because let's do this thing

An alternative to a bunch of booleans is html's select multiple tag. Then you could just have one form that you select "png", "jpg", "gif", etc to display inline:

    <select multiple="multiple" name="display_inline">

    <option value="png">png</option>

    <option value="jpg">jpg</option>

    <option value="gif">gif</option>

    </select>

The raw POST of what gets sent to the server then will be:

    display_inline: png

    display_inline: jpg

    display_inline: gif

An example in practice:

Sorry if this net nerd talk is tangential from the anime talk >_>