I have added custom form in customer account navigation.
Looking for code to form validation.
is there anything like form-validate like in magento1?
I have used in magento1 like below.
var dataForm = new VarienForm('form-validate', true);
Like that anything is there in magento2? How can we do form validation in magento 2?