meteor-accounts-ui-bootstrap-3 icon indicating copy to clipboard operation
meteor-accounts-ui-bootstrap-3 copied to clipboard

Ability to map language to Custom signup options

Open cshanejennings opened this issue 10 years ago • 0 comments

Given I can create a custom signup option with the following:

Accounts.ui.config({
    requestPermissions: {},
    extraSignupFields: [{
        fieldName: 'mySignupProperty',
        fieldLabel: 'My Signup Property',
        inputType: 'text',
        visible: true,
        validate: function(value, errorFunction) {
          if (!value) {
            errorFunction("Please enter your sign up property");
            return false;
          } else {
            return true;
          }
        }
    }]
});

Is it possible to map multiple languages to the fieldLabel and error message?

cshanejennings avatar Nov 27 '15 20:11 cshanejennings