Validating event radio group
So in the controller we add a function that is triggered when the form is submitted.
An element also enters the viewport if it was hidden or collapsed and is then shown or expanded in the viewable part of the current window.
Angular JS has some pretty nice built in form validation, but for some reason there is no out of the box support for validating radio buttons.
So when handeling a requirement where the end users had to fill out multiple choice questionnaires, I had to come up with something elegant to check if all the questions were answered.
When collapsed, elements positioned within 70 pixels below the collapsed element and each other move up to take the collapsed element's place where possible.
The elements that move up maintain their positions relative to one another.
Search for validating event radio group:
The validity of the element can be checked using its Deprecated: A selector function.