Required Items
Posted by stieland - Oct 22 ’13 at 02:48
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.
-
Clint LechnerMemberMember for: 10 years 24 days
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;
} -
Dmitry KozlovAdminMember for: 10 years
Thanks Clint. Also, you can use the following JavaScript code to hide *:
fd.field('Title').title().required(false);
Displaying 1 to 2 of 2 messages