Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
2077 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi All I am using the Paragraph field in the form allowing Rich Text to the
aayusha
Certified Senior Developer
over 11 years ago
Hi All
I am using the Paragraph field in the form allowing Rich Text to the user.
But also at the same time I do not want end user to restrict using document, Folders, Discussions to use. I need only user to user Font Type, Font Size, Simple Text Formatting (Bold, Italics ,Underline).
I know that I can restrict the end user by applying security to KC as deny.
Is there any way to restrict that?...
OriginalPostID-83224
OriginalPostID-83224
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 11 years ago
Hi, I'm assuming you want to control the icons (buttons) that appear when you enable the RichText feature of a Paragraph box, correct? If so, this can be done via CSS. The catch is that each paragraph will create a unique field ID. So your CSS cannot be generic. However, you can create a CSS that assumes a field id (for the para field) and use it in your code by calling the para field (field Id) the same as the one defined in your CSS. Here is an example
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
_textArea_richTextControl_fd_component_JSON_PROC_NSparagraph2__Italic.visibility:none
here paragraph2 is the name of the paragraph Field Id. In your case, you need to use static name in your CSS and call your paragraph field ID by the same. If you expect more than 1 para field, then you need to repeat the css code again with a different paragraph name. Repeat the same for every button you want to hide
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 11 years ago
Usually, I'd add to this discussion indicating CSS not supported in mobile forms. Since you're using a Paragraph field with rich text, it won't allow you to make the form mobile enabled anyway.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 11 years ago
I will try it. Thank you
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel