Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,591 through 4,605 (of 4,721 total)
  • Author
    Posts
  • in reply to: Loading Speed #6791
    Alexander Bautz
    Keymaster

      It looks like you have a bit much going on here. This is a scenario where you would be better off creating a custom function that triggers on the change event on the trigger fields. If you can describe the basic logic you are trying to make, I can make a code example you can use as a starting point.

      Alexander

      in reply to: Loading Speed #6788
      Alexander Bautz
      Keymaster

        Try turning on the “Debug rules” option in the rules tab and look in the output for any rules looping.

        Do you have a lot of rules configured for these triggers? Sometimes you are better off with a custom function if it requires a lot of “logic” to get to your goal.

        Alexander

        in reply to: Loading Speed #6782
        Alexander Bautz
        Keymaster

          Hi,
          Which version of DFFS are you using? Can you add a screenshot of the rule you use to show these extra fields?

          Alexander

          in reply to: Can DFFS be used on multiple EditForms? #6777
          Alexander Bautz
          Keymaster

            Hi,
            Yes, DFFS works only with unmodified, out of the box forms, but your suggested approach should work. Let me know if you have further questions.

            Alexander

            in reply to: Loading Speed #6776
            Alexander Bautz
            Keymaster

              Hi,
              This sounds strange. Can you add some screenshots and more details on the DFFS setup?

              Alexander

              in reply to: Leave NewForm Open After Save #6769
              Alexander Bautz
              Keymaster

                Hi,
                You can do this by opening your NewForm like this:

                http://www.contoso.com/Lists/TestList/NewForm.aspx?Source=/Lists/TestList/NewForm.aspx

                Alexander

                in reply to: Extracting year from date field for use in Title #6766
                Alexander Bautz
                Keymaster

                  Hi,
                  You might be better off using a calculated column like this:

                  =YEAR([Start Time])&""

                  Set the output to “single line of text” and please note the &”” at the end – this is to force the output as text and not a number.

                  Alexander

                  in reply to: Unknown fieldType: SPFieldAllDayEvent #6762
                  Alexander Bautz
                  Keymaster

                    Hi,
                    The field type mentioned is not supported in the function “setFieldValue”, but you can set it like this in the Custom JS section in the Misc tab like this:

                    $(spjs.dffs.fields["fAllDayEvent"]).find("input").prop("checked","checked");

                    Hope this helps,
                    Alexander

                    Alexander Bautz
                    Keymaster

                      Hi,
                      We have sorted this out by email, but for others experiencing the same:

                      As you have found, this behavior occurs when you have not configured the form with DFFS yet, and therefore no configuration is found. The overlay will time out with “this took forever”, but you can scroll down to the bottom of the form to find the “Enhanced with DFFS” button. When you have saved the configuration, the overlay should behave properly.

                      Hope this helps,
                      Alexander

                      in reply to: Rule with a 'Between' Operator #6751
                      Alexander Bautz
                      Keymaster

                        This will be added in the upcoming release.

                        Alexander

                        in reply to: Hide Sve Button #6733
                        Alexander Bautz
                        Keymaster

                          Hi,
                          I cannot think of any other method than to set up a rule for a selection of fields that you want them to change, use the trigger “is changed from initial value” and call “showTheSaveBtn” in the “Run these functions.

                          Then add this to the Custom JS:

                          // Hide initially
                          spjs.dffs.toggleSaveBtn(false);
                          
                          // This function triggers on a rule
                          function showTheSaveBtn(){
                          	spjs.dffs.toggleSaveBtn(true);
                          }

                          Alexander

                          in reply to: White Space in DFFS #6728
                          Alexander Bautz
                          Keymaster

                            Hit F12 and look at the console for errors. Also check the “Document mode” and the “User agent string”. You may also check to see whether or not you have the site in “Compatibility mode” – if it is on, switch it off and the other way around.

                            There are other reporting the same issue and it might be due to a timing issue and possibly that the user clicks two times on the calendar icon.

                            Alexander

                            in reply to: White Space in DFFS #6726
                            Alexander Bautz
                            Keymaster

                              It looks like this is the datepicker window that resides. Which version of SharePoint are you using, and what browser are you using?

                              Alexander

                              in reply to: Save Message Dialog Box #6714
                              Alexander Bautz
                              Keymaster

                                This is possible. Add this code to the custon JS in the Misc tab:

                                (function(){
                                	var b = [""];
                                	b.push("<td class='ms-toolbar' nowrap='nowrap'>");
                                	b.push("<input type='button' class='ms-ButtonHeightWidth' value='Final save' onclick='finalSave();' />");
                                	b.push("</td>"); 
                                	b.push("<td class='ms-separator'> </td>");
                                	$("input[id$=diidIOSaveItem]:last").parents("table:first").parents("td:first").before(b.join(""));
                                })();
                                
                                function finalSave(){
                                	setFieldValue("YourFieldInternalName","Completed");
                                	$("input[id$=diidIOSaveItem]:last").click();
                                }

                                You must change the “YourFieldInternalName” in the finalSave function.

                                Alexander

                                in reply to: vLookup in List View #6713
                                Alexander Bautz
                                Keymaster

                                  Hi David,
                                  I have tried to set up a site and list as you describe, but I cannot recreate the issue. Can you email me some screenshots of your setup so I can look into it?

                                  You find my email in the “About me” tab in the top of the page.

                                  Best regards,
                                  Alexander

                                Viewing 15 posts - 4,591 through 4,605 (of 4,721 total)