How to hide rich text field

hi, how do i hide a rich text field?

i am using this code:

$(fd.field('RichText1').$parent.$el).hide();

i think i solved it. see below.

i entered the code below in the field's css class
"fields-to-hide"

i used this code to hide and unhide.
// Hide the table
$('.fields-to-hide').hide();

// Show the table
$('.fields-to-hide').show();

1 Like