New Form settings

Forums Dynamic Forms for SharePoint New Form settings

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #6105
      Dmitry D.
      Participant

      Hello, Alexander.
      It seems that custom CSS in the Field CSS tab is not saved.
      SP 2013, New Form, field «comments» (SPFieldText), CSS:
      input:focus{
      background-color:#FFFBCC;
      }

    • #6106
      Alexander Bautz
      Keymaster

      Hi,
      By not saved – do you mean that it does dot show up in the backend when you edit the field css again, or is it that it does not work in the front end?

      A multi line “Enhanced rich text” field must be addressed like this:

      div.ms-rtestate-write:focus{
      background-color:#FFFBCC;
      }

      A multiline plain text field must be addressed like this:

      textarea:focus{
      background-color:#FFFBCC;
      }

      Alexander

    • #6108
      Dmitry D.
      Participant

      I have a multiline plain text field:

      
      
      <td valign="top" width="350px" class="ms-formbody">
      <div class="dffs_tdWrap">
      		<!-- FieldName="sbOrgs"
      			 FieldInternalName="sbOrgs"
      			 FieldType="SPFieldNote"
      		  -->
      <span dir="none">
      <textarea rows="6" cols="20" id="sbOrgs_c614fe98-13b1-436c-9a54-624861a97862_$TextField" title="sbOrgs" class="ms-long"></textarea><br>
      </span></div></td>

      When I type custom css
      textarea:focus{
      background-color:#FFFBCC;
      }
      in the Field CSS tab, after saving nothing is changed and when I open again setup dialog, my css is absent.
      When I type my css in the Misc section — all is right.

      • #6109
        Alexander Bautz
        Keymaster

        Can you save “Field CSS” for other fields? – if you have the developer toolbar in IE (hit F12 > Console) open when you save – do you get any errors there?

        Can you send me an export of the configuration using the export function in the Misc tab? – you find my email in the “about me” tab above.

        Alexander

    • #6128
      Alexander Bautz
      Keymaster

      This issue was resolved by making some changes to the DFFS_backend_min.js file. Please upgrade to v4.01.

      Alexander

Viewing 3 reply threads
  • You must be logged in to reply to this topic.