Forum Replies Created
-
AuthorPosts
-
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
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
Hi,
Look at the “Side-by-side settings” tab and add a custom field label.Does this help?
Alexander
September 22, 2015 at 18:53 in reply to: "Missing ID parameter for the list item in the URL" after upload on doc library #8527This should be fixed in DFFS_frontend_min.js v4.353 – can you test it to see if it behaves properly?
Alexander
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
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,
AlexanderAttachments:
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
This is fixed in v4.352 frontend (September 20, 2015).
Alexander
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
September 22, 2015 at 10:41 in reply to: "Missing ID parameter for the list item in the URL" after upload on doc library #8511Thanks for the feedback, I’ll look into it.
Alexander
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
Can you test to see if the new version fixes your problem?
Alexander
I have digged a bit more and have now fixed it. I’ll post an update during the weekend.
Thanks for you patience.
Alexander
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
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
-
AuthorPosts