4

How can I limit the text filter type upon a textarea field.

Example (the needed result would be like this) :

  • Authuser is a role that can change the value of textarea_1 and textarea_2 on contentTypeA
  • Authuser can't change the 'text filter' value of textarea_1 (it's on filtered HTML)
  • Authuser can change the 'text filter' value of textarea_2 with only (Plain text or ckEditor(WYSIWYG))

Is that possible? if yes, how?

Thanks in advance.

6

Using format permissions in combination with the Better Formats module should allow you to do what you are trying to do.

The Better Formats module allows you to set allowed and default text formats per field - so you can set different allowed formats for both of your fields.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.