$root.find('input[data-toggle=method]:checked').each(function () {
    methods.push($(this).val())
  })