remove/hide a list title on a dialog new form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
jpwallace
Posts: 47
Joined: Fri Mar 03, 2017

11 Jan 2017

When I open my new form in dialog i can see the name of the list at the top of the window. Is there a way to remove or hide or rename the name of the list??

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

13 Jan 2017

Hi,

Insert the following code into the new form via JS-editor of Forms Designer:

$('.ms-dlgTitle', window.parent.document).hide();

jpwallace
Posts: 47
Joined: Fri Mar 03, 2017

16 Jan 2017

Brilliant, that worked perfectly thank you. I have managed to change the name of the default new form too, instead of .hide i replaced this with .text("EXAMPLE");

What do i need to add to this to change the font size and font color?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

16 Jan 2017

Hi,

You can change CSS properties with jQuery:

https://learn.jquery.com/using-jquery-c ... imensions/

ex.:

$('.ms-dlgTitle', window.parent.document).css('fontSize', '100px');

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests