Forum Replies Created
-
AuthorPosts
-
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
- This reply was modified 10 years, 1 month ago by Alexander Bautz.
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
Hi,
What is the trigger you use to set the fields as read only?Alexander
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
It looks like the double quotes around the href attribute are wrong – try rewriting them.
Alexander
I must see the URL – to insert the code, wrap it “code tags” from the ribbon above the text field.
Alexander
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
Hi,
I have now added the forum title to the subject line of email notifications from the forums.Alexander
October 30, 2014 at 00:06 in reply to: Attachments broken on Edit form with Rules making fields read only #6510Hi Earl,
We have already clarified this, so this is for anyone else with the same issue: this bug was fixed in v4.03.Alexander
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
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
Hi,
This is added in v2.0 of vLookup.Alexander
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
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
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
-
AuthorPosts