I came across the 'required' attribute for input tags in HTML5, and it just super handy.
But I was wondering, if there is workaround for dependent inputs using just the required attribute.
Say I have a select box, which has certain entries. Depending on the user selection, the user may have to fill out extra information (which is required).
I know how to do this with JS etc. But since I came across the required attribute I am curious, if this is achievable. That would be super!