Page 1 of 1

Hide asterisk on form title

Posted: 27 Dec 2013
by Geir Mathisen
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

Re: Hide asterisk on form title

Posted: 29 Dec 2013
by Dmitry Kozlov
Hello,

You can hide asterisk with the following JavaScript code:

Code: Select all

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

Re: Hide asterisk on form title

Posted: 30 Dec 2013
by Geir Mathisen
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?

Re: Hide asterisk on form title

Posted: 30 Dec 2013
by Dmitry Kozlov
Could you send html-source of your display form to support@spform.com?