Managed Metadata

rss

Posted by stieland - Feb 25 ’14 at 02:49

I am trying to work with Managed Metadata fields and have not been able to pick up the change event for a Managed Metadata field.

fd.field('RCategory').change(function() {
alert('Category Changed');
});

Never fires the alert.  Do Managed Metadata fields work differently?

  • YuriyMedvedev
    Moderator
    Member for: 5 years 10 months 19 days
    #11 by YuriyMedvedev Oct 7 ’16 at 03:11

    [#10]: Use the code:

    fd.onsubmit(function() {
      if (fd.field('FieldName').control()._el().find('.ms-taxonomy .valid-text').length == 0) {
        alert('The field has not been populated');
        return false;
    }
      return true;})
    
  • Katy
    Member
    Member for: 8 years 28 days
    #12 by Katy Oct 7 ’16 at 09:34

    [#11]:  Works great, thank you!

Displaying 11 to 12 of 12 messages