How to hide the plus/minus signs above html fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 07:28 AM
Does anyone know how to hide the -+ buttons that are above and below the html fields? Also, I wonder why one needs them when the field is read-only?
- Labels:
-
Best Practices
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 07:41 AM
theres a know issue reporting the plus and minus (+ / -) icons on read only html field still display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 09:47 AM
Hi,
It can be done using DOM. Write an On Load Client Script on the desired Table on which you want to hide these "+ and -" signs as per the below mentioned script:
For example on the Knowledge form, we have a field called "Text" which is an HTMl field having these signs, so I am writing an On Load client Script on the Knowledge Table to hide them as per the script below:
Script:
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementById('sizer_plus_kb_knowledge.text').style.display='none';
document.getElementById('sizer_minus_kb_knowledge.text').style.display='none';
}
This worked for me in my personal instance. Kindly test the same from your end.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 10:02 AM
Doesn't see to work:
I tried using my table name:
document.getElementById('sizer_plus_x_64719_letters_tasker.text').style.display='none';
document.getElementById('sizer_minus_x_64719_letters_tasker.text').style.display='none';
also my form name
document.getElementById('sizer_plus_Tasker.text').style.display='none';
document.getElementById('sizer_minus_Tasker.text').style.display='none
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 10:29 AM
Hi,
Can you tell me the Table Name and field Name on which you tried the code ?
Regards,
Shloke
Regards,
Shloke