Internal Name of Plain or Rich Text Field
Hello,
do Plain or Rich Text Fields have internal names or do only sharepoint-columns have this name?
If I want to hide a rich-text field, how can I adress it in JS of the form?
$('.fd_field[fd_name="Internal Name"]') .hide() or .show();
works for sharepoint-fields. What would it be for text-fields?
do Plain or Rich Text Fields have internal names or do only sharepoint-columns have this name?
If I want to hide a rich-text field, how can I adress it in JS of the form?
$('.fd_field[fd_name="Internal Name"]') .hide() or .show();
works for sharepoint-fields. What would it be for text-fields?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Text fields like any other SharePoint fields have internal names. You can find the internal name in field's properties.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Forms Designer's controls do not have internal names. But if you put a Rich Text control into a table and assign a CSS-class, say 'rich-text', to a cell, you can handle it following way:
$('.rich-text').hide();
$('.rich-text').show();
$('.rich-text').hide();
$('.rich-text').show();
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
It should work in a display form as well. Make sure that you do not have other JS-errors in the browser console (F12).
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests