Roelof Meijer

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Enter setup link #18058
    Roelof Meijer
    Participant

      Thanks Alexander. Indeed that would be a disaster. But if I would make a groupname typo, I could create that group with the typo to get around this issue. Is that right?

      Roelof

      in reply to: SharePoint Online and DFFS #17695
      Roelof Meijer
      Participant

        thanks Alexander

        in reply to: Rule to set lookup field to field that is empty #17693
        Roelof Meijer
        Participant

          Yes, I’m selecting the empty value, (in my case in the dropdown “Geen”, see the spjs.lookup.init parameter). This results in an empty string for the field OpposingPartyLookupWork, but the lookup field OpposingPartyTestLookup remains unchanged (only if the field OpposingPartyLookupWork is empty, otherwise it works fine). And yes, I am using the “Set field value” section and setting the field to the value of {OpposingPartyLookupWork} . And the lookup column is not a required field. Manually I am able to make this field empty.

          in reply to: Rule to set lookup field to field that is empty #17663
          Roelof Meijer
          Participant

            DFFS frontend 4.4.2.5 Backend v4.4.2.5|CSS version: 4.18 / 4.18|spjs-utility version: 1.27

            in reply to: SharePoint Online and DFFS #17659
            Roelof Meijer
            Participant

              Hi Alexander,

              Is there already some progress regarding the sharepoint modern interface and DFFS?
              Do I have to worry about Microsoft stopping the classic interface and my dffs forms will not work anymore?
              Many thanks
              Roelof

              in reply to: Remove first p tag from rich text fields #15454
              Roelof Meijer
              Participant

                I managed to convince the end users that it would be better to go for plain text fields (Multi line). So this is not a problem to me anymore. It still is intriguing riddle, though.
                Thanks for the help.

                in reply to: Footer in tabs #15327
                Roelof Meijer
                Participant

                  Thanks Alexander. It works perfect this way.

                  in reply to: Footer in tabs #15325
                  Roelof Meijer
                  Participant

                    Thanks Adam. It is a good idea to use a rule for this. I learned from you that it is possible to use a rule to hide elements based on a classname

                    in reply to: Remove first p tag from rich text fields #15260
                    Roelof Meijer
                    Participant

                      Hi Alexander,
                      Thanks for your reply.
                      Unfortunately this does not make a difference.

                      in reply to: Remove first p tag from rich text fields #15239
                      Roelof Meijer
                      Participant

                        Hi,
                        This one works, but does too much. All p tags are replaced. And what is needed is that only the first p tag is replace and only then, when there is no preceding text. Otherwise we would and up replacing every p tag on subsequent updates. So I would need a split/join of the first occurrence only, which is not preceded by text. Is that possible?

                        in reply to: Remove first p tag from rich text fields #15155
                        Roelof Meijer
                        Participant

                          Hi Alexander,

                          Thanks for your reply. I am now half way there. When I combine your dffs_PerSaveAction with my code it works for editting an item. But not when inserting a new item. Then I’m still left with the div and P tag

                          So this script helps when editing an item

                          
                          
                          function dffs_PreSaveAction(){
                             //var rteContents = getFieldValue("Nature").split(/<p>|<\/p>/).join("<span>");
                             //setFieldValue("Nature",rteContents);
                              var pTags = $("div[class^='ExternalClass']>p:first-child");
                              pTags.contents().unwrap();
                          }

                          The split/join statement (that you suggested) did not help. The html in the text field still kept the div and p tag (both on insert and edit).

                          Is there maybe an equivalent function in dffs that fires like an “item-added” trigger

                        Viewing 11 posts - 1 through 11 (of 11 total)