Hide table name in portal form

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 03:16 AM
Hi,
This should be nice and easy. I have a widget that opens a form when a user selects a record. The form opens using a specific view. I want to hide the table name from the top of the first section. I can't leave the section name blank in form designer. It simply replaces it with the table name.
I considered creating a new section 0 and then hiding it but traditional section hiding methods don't appear to work.
This is the thing I want to hide:
This is where it is coming from:
As I say, I tried creating a new section 0 and then using g_form.setSectionDisplay but I think this requires a section name and this section doesn't have a section name other than the table name.
I've also tried the old school:
var sections = g_form.getSections();
sections[0].style.display = 'none';
As well as changing the title to '' via onLoad script.
Any idea what I can try next?