One thing HTML5 forms can’t do is dynamically show and hide form elements according to the data that the user has already entered. My new library, visibleIf
gives you a very easy way to do this using the HTML5 data-
attributes.
CARVIEW |
Select Language
HTTP/2 200
content-type: text/html; charset=UTF-8
x-ws-ratelimit-limit: 1000
x-ws-ratelimit-remaining: 999
date: Sat, 11 Oct 2025 04:50:35 GMT
server: Apache
x-powered-by: PHP/8.3.26
link: ; rel="https://api.w.org/", ; rel="alternate"; title="JSON"; type="application/json"
content-encoding: gzip
Custom Data Attributes
Skip to Main Content
Skip to Main Navigation
User Agent Man ·
Discoveries of a Client Side Web Developer
Categories
Entries Tagged as 'Custom Data Attributes'
visibleIf – Dynamic and Complex Interactive Forms Using HTML5 Custom Data Attributes
June 20th, 2010 by zoltan · 6 Comments
Tags: Custom Data Attributes · Forms · JavaScript
© 2009 - 2025 — Zoltan "Du Lac" Hawryluk