Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,621 through 4,635 (of 4,705 total)
  • Author
    Posts
  • in reply to: Error in DFFS, when open form on mobile devices #6576
    Alexander Bautz
    Keymaster

      Can you check v4.200 BETA and report back? If it initially does not behave better, look at the Misc tab and try setting e.g. 500 in the field “Defer loading of DFFS”.

      Change log: https://spjsblog.com/dffs/dffs-change-log/

      Any better?

      Alexander

      in reply to: Conditional Highlighting #6560
      Alexander Bautz
      Keymaster

        Hi,
        Add this code to the Custom JS section:

        (function colorMyField(){
        	var val = getFieldValue("MyNumberField"), color = "#ffffff";
        	if(parseInt(val,10) > 10){
        		color = "#00ff00";
        	}
        	$(spjs.dffs.fields["MyNumberField"]).css("background-color",color);
        })();
        
        
        $(spjs.dffs.fields["MyNumberField"]).find("input").change(function(){
        	colorMyField();
        });

        Change “MyNumberField” to match your field.

        Alexander

        in reply to: Error in DFFS, when open form on mobile devices #6559
        Alexander Bautz
        Keymaster

          Hi,
          What is the trigger you use to set the fields as read only?

          Alexander

          in reply to: Hide idAttachmentsRow on tabs #6558
          Alexander Bautz
          Keymaster

            Hi,
            By default, the attachment field will be present in all tabs when it is not explicitly added to one or more tabs.

            This means that you can add the attachment field to a dedicated tab, and it will no longer show on all the other tabs.

            Alexander

            in reply to: Using an href in a heading #6544
            Alexander Bautz
            Keymaster

              It looks like the double quotes around the href attribute are wrong – try rewriting them.

              Alexander

              in reply to: Using an href in a heading #6538
              Alexander Bautz
              Keymaster

                I must see the URL – to insert the code, wrap it “code tags” from the ribbon above the text field.

                Alexander

                in reply to: VLookup work in Project Server 2010 SharePoint Sites? #6532
                Alexander Bautz
                Keymaster

                  Hi,
                  Sorry for the delay. If you have not already figured it out, please look at the “SPJS-vLookupSettings” list and see if the value in the Title field is in this format “LibraryUrlName:vLookupFieldName”.

                  When it comes to Project server I have no experience so I cannot tell if this affects the functionality of vLookup.

                  Alexander

                  in reply to: Forum Email Subject Line #6531
                  Alexander Bautz
                  Keymaster

                    Hi,
                    I have now added the forum title to the subject line of email notifications from the forums.

                    Alexander

                    Alexander Bautz
                    Keymaster

                      Hi Earl,
                      We have already clarified this, so this is for anyone else with the same issue: this bug was fixed in v4.03.

                      Alexander

                      in reply to: vLookup 2.0 Issue and request #6504
                      Alexander Bautz
                      Keymaster

                        Hi,
                        Thanks for the feedback. I’m not sure I understand. The default behavior is that the vLookup for the current field collapses and you can continuer configuring another vLookup column or DFFS. What exactly are you seeing after the save?

                        Any errors in the developer console? (hit F12 > Console).

                        Alexander

                        in reply to: Rules Limitation? #6463
                        Alexander Bautz
                        Keymaster

                          Hi,
                          Add this code to the Custom JS section in the Misc tab. Change the FieldInternalNames in the “arr” to match your field names:

                          (function(){
                          	var arr, chk; 
                          	arr = [
                          		{"trigger":"YesNoFieldNr1","comment":"YesNoFieldNr1_comment"},
                          		{"trigger":"YesNoFieldNr2","comment":"YesNoFieldNr2_comment"},
                          		{"trigger":"YesNoFieldNr3","comment":"YesNoFieldNr3_comment"}
                          	];
                          	$.each(arr,function(i,o){
                          		// Click
                          		chk = $(spjs.dffs.fields[o.trigger]).find("input:checkbox");
                          		chk.click(function(){
                          			toggle_requiredByYesNo($(this),o)
                          		});
                          		// Load
                          		toggle_requiredByYesNo(chk,o);
                          	});
                          })();
                          
                          function toggle_requiredByYesNo(elm,o){
                          	if(elm.prop("checked")){
                          		spjs.dffs.flag_Mandatory([o.comment]);	
                          	}else{
                          		spjs.dffs.clear_Mandatory([o.comment]);	
                          	}
                          }

                          Alexander

                          in reply to: Current user ID in Child List #6461
                          Alexander Bautz
                          Keymaster

                            Hi,
                            This is added in v2.0 of vLookup.

                            Alexander

                            in reply to: VLookup In URL Hidden Option not working #6460
                            Alexander Bautz
                            Keymaster

                              Hi,
                              The new v2.0 of vLookup sets a class “spjshidden” to the field, and if you update DFFS_frontend.css to v4.04 the hidden fields will be “respected” by DFFS.

                              Please note that v2.0 of vLooup must be tested in your environment before you can switch over.

                              Alexander

                              in reply to: Hyperlink On List Form #6426
                              Alexander Bautz
                              Keymaster

                                I guess you need to add a custom JS function in the Misc tab and trigger this from a rule.

                                Let me know if you need help with an example.

                                Alexander

                                in reply to: Printing TABS #6425
                                Alexander Bautz
                                Keymaster

                                  I’m sorry, but this is a bit tricky to answer. If you can add a screenshot of the DispForm you are trying to print I might be able to help.

                                  My best guess would be to add some CSS that triggers on print to make the form fit on the printout. This is the format of the CSS code you will want to use (contents is only an example):

                                  @media print {
                                      div {
                                          font-size: 20px;
                                          color: red;
                                      }
                                  }

                                  Alexander

                                Viewing 15 posts - 4,621 through 4,635 (of 4,705 total)