Alexander Bautz

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 4,705 total)
  • Author
    Posts
  • in reply to: Adding table borders #38240
    Alexander Bautz
    Keymaster

      This was fixed in v4.4.5.45 back in July 2022: https://spjsblog.com/dffs/dffs-change-log/#DFFS_v44545

      Upgrade and the problem should be fixed.

      Alexander

      in reply to: Adding table borders #38238
      Alexander Bautz
      Keymaster

        Which version of the classic DFFS are you running? (hover over the “Enhanced with DFFS” link and click “License and version information.

        Alexander

        in reply to: Adding table borders #38235
        Alexander Bautz
        Keymaster

          I think I have missed your other question regarding email current tab – where can I find it?

          Alexander

          in reply to: Adding table borders #38229
          Alexander Bautz
          Keymaster

            I see now what was wrong – when addressing by ID you must prefix the selector with “#” and not “.”.

            I didn’t notice it in your code snippet, but if you change it from this:

            .sbs_OuterTable_4 {
            outline: 2px red dashed;
            outline-offset: 2px;
            }
            

            to this it should work:

            #sbs_OuterTable_4 {
            outline: 2px red dashed;
            outline-offset: 2px;
            }
            

            Alexander

            in reply to: Adding table borders #38228
            Alexander Bautz
            Keymaster

              I see now what was wrong – when addressing by ID you must prefix the selector with “#” and not “.”.

              I didn’t notice it in your code snippet, but if you change it from this:

              .sbs_OuterTable_4 {
              outline: 2px red dashed;
              outline-offset: 2px;
              }
              

              to this it should work:

              #sbs_OuterTable_4 {
              outline: 2px red dashed;
              outline-offset: 2px;
              }
              

              Alexander

              in reply to: Adding table borders #38223
              Alexander Bautz
              Keymaster

                Try setting the border on the table and not the tr using this ID (from your screenshot it looks like you have the SBS index set to 4):

                .sbs_OuterTable_4 {
                outline: 2px red dashed;
                outline-offset: 2px;
                }
                

                Alexander

                in reply to: Adding table borders #38218
                Alexander Bautz
                Keymaster

                  Can you show me a screenshot of the field after you right click and select “Inspect” (I need to see the HTML code in the developer tools).

                  Also, show me a mockup of what you are looking to make the border around so I know you are looking at the correct solution (this is specifically to highlight side-by-side fields).

                  Alexander

                  in reply to: Feature Request: Different ways of showing date in email #38217
                  Alexander Bautz
                  Keymaster

                    Hi
                    I’ll add support for specifying the dateformat when selecting from the “Add dynamic content” menu in the next version, but as a workaround you can add this to your Custom JS (replace DueDate with the actual internal name of your field):

                    var myCustomDate = ""; // Must use var an not let to make it globally available
                    function dffs_PreSaveAction() {
                      const date = getFieldValue("DueDate", "dateObject");
                      const formatter = new Intl.DateTimeFormat('en-US', { day: '2-digit', month: '2-digit', year: 'numeric' });
                      myCustomDate = formatter.format(date);
                    }
                    

                    Now add this variable to your email body like this:

                    myCustomDate: [[variable:myCustomDate]]
                    

                    Alexander

                    in reply to: Adding table borders #38215
                    Alexander Bautz
                    Keymaster

                      You must add the CSS code to the Custom CSS tab. Where you put it now, only custom styling of the read-only fields are supposed to go (and then without the ID selector).

                      Alexander

                      in reply to: Issue with rules related to people pickers #38206
                      Alexander Bautz
                      Keymaster

                        You can try using this Custom JS instead of using rules to detect the change on the PP.

                        function peoplePickerChanged(fin){
                            var currPPvalue = spjs.dffs.beforeProperties[fin];
                            if(currPPvalue.length === 0){
                                console.log("The field is empty on form load");
                            }
                            setInterval(() => {
                                let val = getFieldValue(fin);
                                let isResolved = spjs.utility.getFieldValue({"fin": fin, "key": "isresolved"});
                                if(!isResolved.includes(false) && String(currPPvalue) !== String(val)){
                                    currPPvalue = val;
                                    console.log("Changed to", val);
                                    if(val.length === 0){
                                        console.log("Is empty");
                                    }
                                }
                            },1000);
                        }
                        peoplePickerChanged("PeoplePicker1");
                        

                        Alexander

                        in reply to: Issue with vLookup v2.2.162 #38205
                        Alexander Bautz
                        Keymaster

                          I need to see a screenshot of the “Prefill values in child” section in your vLookup config. Also make sure the field names are correct and that there is actually a value in the “From” field.

                          Alexander

                          in reply to: Bug found in 1.0.71.0 #38204
                          Alexander Bautz
                          Keymaster

                            That will unfortunately not work because the suffix after the class is generated new on every page load. If you want to keep the reload button and only want to hide the label you can change it like this:

                            #vLookup_empty_7419064349689197 > div > div {
                              display:none;
                            }
                            

                            I’ll add a separate ID to the label in the next version so you can address it by ID directly.

                            Alexander

                            in reply to: Issue with rules related to people pickers #38198
                            Alexander Bautz
                            Keymaster

                              Hi,
                              Are you using a rule triggering on form load or on field change?

                              It can be done using custom js so If you can give me some more details I can give you a code example.

                              Alexander

                              in reply to: Bug found in 1.0.71.0 #38196
                              Alexander Bautz
                              Keymaster

                                Hi,
                                I’ll fix the change field issue in the next version

                                The other issue can be achieved by setting the number of items to fetch to 0 and then use custom css to hide the “No items match the query” message.

                                Get the ID to the vLookup in the vLookup configuration (bottom of first tab) and change it like this (adding “empty_”) and add it to custom css:

                                #vLookup_empty_7419064349689197{
                                  display:none;
                                }
                                
                                in reply to: Unlicensed user issue #38190
                                Alexander Bautz
                                Keymaster

                                  I have included a fix for this issue in the new v1.0.71.0 – see change log here – Let me know how it works out.

                                  Alexander

                                Viewing 15 posts - 31 through 45 (of 4,705 total)