[YII2] Validate via JavaScript

Hi

I need to remove a attribute assigning validation using jquery code.

I found this code in google

$(’#contact-form’).yiiActiveForm(‘updateAttribute’, ‘contactform-subject’, ‘’);

But what is ‘updateAttribute’ and ‘contactform-subject’ ?

Thanks!!

Perhaps contactform-subject is a subject field from model contactform.