Required Items

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
stieland
Posts: 17
Joined: Thu Jun 13, 2013

22 Oct 2013

Is there a way to remove the * for required items? I can remove it for the entire form, but I only want to remove it from some. Ideally, I want to remove it from items that are read-only.

User avatar
Clint Lechner
Posts: 5
Joined: Wed Aug 28, 2013

25 Oct 2013

You can easily do this with CSS and by modifying the orientation of the specific field in Forms Designer.

1. In Forms Designer, change the orientation of the field from Horizontal to Vertical.

2. Add the following code to the CSS section to hide the * for the column named "SomeColumnName".

.fd_field[fd_name=SomeColumnName] > .fd_title > .ms-formvalidation {
display:none !important;
}

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

27 Oct 2013

Thanks Clint. Also, you can use the following JavaScript code to hide *:

Code: Select all

fd.field('Title').title().required(false);

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests