Roles

roles provides a value so you can map fields to user roles in your app. This is useful for limiting what fields are rendered.

Usage

var options = {
      roles: {
        1: 'Administrator'
      }
    };
$(container).formBuilder(options);

See it in Action