Hide asterisk on form title

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
Geir Mathisen
Posts: 16
Joined: Sun Dec 22, 2013

27 Dec 2013

Is there a smart CSS method to avoid that the red asterisk (*) sign is displayed after the field label for required fields?

I need to design print-version of forms, and this information is not making sense here.

Thanks

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

29 Dec 2013

Hello,

You can hide asterisk with the following JavaScript code:

Code: Select all

fd.field('InternalName').titleRequired(false)

User avatar
Geir Mathisen
Posts: 16
Joined: Sun Dec 22, 2013

30 Dec 2013

Thanks, but I still must be doing something wrong.
Have inserted this in the JS editor on the Display form:
fd.field('Ansatt nummer').titleRequired(false);
fd.field('Navn').titleRequired(false);
But the form still displays the asterisk.

'Internal name' refers to what is in the Value field og the Title property.

What am I doing wrong?

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

30 Dec 2013

Could you send html-source of your display form to support@spform.com?

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests