Change or translate the message PlumsailForm Error AccessDenied

Hello,

Can I change / translate the message "You do not have permissions to perform this action." (when a user don't has contribute or edit permissins)

Thank You,

Daniël

I tried this, but no luck

fd.beforeCreate(function(options){
//console.log (options.provide.lang);
options.provide.lang.PlumsailForm_Error_AccessDenied = "OPGELET: Je hebt geen schrijfrechten. Vraag deze eerst aan als je aanpassingen wil kunnen maken.";
});

Hello @danieljr,

All form's messages are stored at fd.messages property.

You can change the access denied message using this code:

fd.created(function(vue) {
    fd.messages.Failure_AccessDenied = 'New text';
});

Find more information here.

1 Like