Page 1 of 1
remove/hide a list title on a dialog new form
Posted: 11 Jan 2017
by jpwallace
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??
Re: remove/hide a list title on a dialog new form
Posted: 13 Jan 2017
by Dmitry Kozlov
Hi,
Insert the following code into the new form via JS-editor of Forms Designer:
$('.ms-dlgTitle', window.parent.document).hide();
Re: remove/hide a list title on a dialog new form
Posted: 16 Jan 2017
by jpwallace
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?
Re: remove/hide a list title on a dialog new form
Posted: 16 Jan 2017
by Dmitry Kozlov
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');