$('[name="x_Joint"]').on('change', function() {
var state = this.value == 'Yes',
data_obj1 = {'data-required' : ( state ? 'true':'' ),
'data-error-message' : ( state ? 'Please select your title.' : '') },
data_obj2 = {'data-required' : ( state ? 'true':'' ),
'data-error-message' : ( state ? 'Valid First Name required.' : '') },
data_obj3 = {'data-required' : ( state ? 'true':'' ),
'data-error-message' : ( state ? 'Valid Last Name required.' : '') };