Required Items

rss

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 Lechner
    Clint Lechner
    Member
    Member for: 8 years 11 months 10 days
    #1 by Clint Lechner Oct 25 ’13 at 03:11

    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 Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 10 months 17 days
    #2 by Dmitry Kozlov Oct 27 ’13 at 01:38

    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