Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,336 through 4,350 (of 4,756 total)
  • Author
    Posts
  • in reply to: Testing New Sept 22 version #8534
    Alexander Bautz
    Keymaster

      I have not seen this before. Which browser and SharePoint version are you using?

      Could it be a CSS issue with “white” text in the dropdown? – does the fields move if you select “something” in the dropdown?

      Alexander

      in reply to: DFFS Offline Forms #8530
      Alexander Bautz
      Keymaster

        Sorry for the late reply – I have had some problems with notifications from the forum.

        I’m not sure I understand what you mean by working offline – can you explain a bit more?

        Alexander

        in reply to: Label Position for 2 field rows #8528
        Alexander Bautz
        Keymaster

          Hi,
          Look at the “Side-by-side settings” tab and add a custom field label.

          Does this help?

          Alexander

          Alexander Bautz
          Keymaster

            This should be fixed in DFFS_frontend_min.js v4.353 – can you test it to see if it behaves properly?

            Alexander

            in reply to: Custom JS [ Show Hide Fields ] #8526
            Alexander Bautz
            Keymaster

              You can use a “normal” jQuery selector like this:

              // hide
              $("#dffs_FieldInternalName").hide();
              // show
              $("#dffs_FieldInternalName").show();

              Change “FieldInternalName” for your fields name.

              There are “internal” functions to do this also, but these are linked together with tabs and rules, and this basic approach might be better.

              Let me know how it works out.

              Alexander

              in reply to: Show notification on new form based on lookup column #8521
              Alexander Bautz
              Keymaster

                Sorry for the delay – it seems I’m not getting all the notifications from my forum.

                I have a list “Customers” with the customer name in the Title field, and a field “ServiceContract” that may contain the text “PO Required”.

                Then I have a lookup form my DFFS enabled form into the “Customers” list in the Title field – pulling in the customer name.

                Then I have this rule in DFFS NewForm: Customer is changed > Run these functions = customerChanged (see attached image).

                In the custom js tab, I have this code:

                function customerChanged(){
                	var sVal = $("#dffs_Customer").find("option:selected").val(), res;
                	res = spjs_getItemByID({"listName":"Customers","id":sVal,"viewFields":["ServiceContract"]});
                	if(res !== null){
                		if(res.ServiceContract === "PO Required"){
                			spjs.dffs.dlgBox("This customer requires a PO.",true);
                		}
                	}
                }

                Change “Customer”, “Customers” and “ServiceContract” to match your field and list name.

                Please note that this code example uses “spjs.dffs.dlgBox” added in v4.350 – change this to an “alert(…)” if you use another version.

                Hope this helps,
                Alexander

                Attachments:
                in reply to: Use Link in CEWP to activate a header in the tabs #8519
                Alexander Bautz
                Keymaster

                  Hi,
                  You can link to a tab like this:

                  /DFFS/Lists/DFFS_CEWP/EditForm.aspx?ID=123&sTab=2

                  This will select the third tab as it is 0-based.

                  Alexander

                  in reply to: SPFieldMultiChoice Problem #8518
                  Alexander Bautz
                  Keymaster

                    This is fixed in v4.352 frontend (September 20, 2015).

                    Alexander

                    in reply to: Hide save item button #8517
                    Alexander Bautz
                    Keymaster

                      I’m unfortunately not able to reproduce this behavior using the new version. Are you sure you don’ have another rule kicking in and unhiding it somewhere else in your rules?

                      Alexander

                      Alexander Bautz
                      Keymaster

                        Thanks for the feedback, I’ll look into it.

                        Alexander

                        in reply to: How to add calculated field to Dynamic Forms #8509
                        Alexander Bautz
                        Keymaster

                          Hi,
                          If you search for “calculated” in the search box in the top of the page, you should find a few hits – here is one: https://spjsblog.com/forums/topic/display-a-calculated-column-display-value-in-edit-form/

                          Alexander

                          in reply to: Hide save item button #8501
                          Alexander Bautz
                          Keymaster

                            Can you test to see if the new version fixes your problem?

                            Alexander

                            in reply to: Hide save item button #8493
                            Alexander Bautz
                            Keymaster

                              I have digged a bit more and have now fixed it. I’ll post an update during the weekend.

                              Thanks for you patience.

                              Alexander

                              in reply to: Displaying total against the grouped field #8481
                              Alexander Bautz
                              Keymaster

                                Hi,
                                Are there more than one “line” in the list for each employee?

                                I’ll consider adding grouping in multiple levels, but this is a bit tricky. You might have to use a custom function to create the output you like. If you have the necessary JavaScript knowledge, you might be able to use the data object returned from vLookup in a custom function? – look here for information: https://spjsblog.com/vlookup-for-sharepoint/vlookup-user-manual/#Accessing_the_vLookup_data_object

                                Alexander

                                in reply to: DFFS form loaded event -> Is there on to listen to? #8466
                                Alexander Bautz
                                Keymaster

                                  Hi,
                                  You find a trigger named “The form is ready” in the rule, and this can call your custom function in the “Run these functions / trigger these rules” field.

                                  If you use an older version and cannot find this trigger, you can wrap your function call in this function:

                                  function dffs_Ready(){
                                      // add your code here
                                  }

                                  Hope this helps.

                                  Alexander

                                Viewing 15 posts - 4,336 through 4,350 (of 4,756 total)