Forum Replies Created
-
AuthorPosts
-
Alexander BautzKeymaster
Hi,
These additional columns are only available in DispForm (like they are in normal SP forms). You can however use a “Custom JavaScript function” trigger to write your own logic based on a query to find the additional values for the lookup.Let me know if you need help setting this up.
Alexander
Alexander BautzKeymasterThanks for taking the time to post it.
Alexander
Alexander BautzKeymasterHi,
I have changed the trigger handling in the upcoming BETA 3 and I’m afraid I’ll have to ask you to test the trigger in the new BETA.When it comes to yous show/hide function, you must either use include a <table> tag – or loose the <tr> and <td>. The browser will “fix” the HTML by wrapping it in a <table> tag, but this may end up a bit messy.
I have trimmed down your code a bit:
<div class="InstructionHeadOpened" onclick='$(this).next().toggle();' style='cursor:pointer;'>Show / hide Instructions</div> <div class="more" style="color:black"> <p>To create a <strong>new</strong> request:</p> </div>
No need to use the “showHide” function.
PS: You could also use the “Tooltip” tab to have this instructions pop up as a tooltip.
Alexander
Alexander BautzKeymasterThanks, but unfortunately I cannot recreate this. I’m finishing up the last of the fixes for the BETA 3 that I hope to publish during the weekend. I’m afraid I’ll have to ask you to test this version when I get it published.
Best regards,
AlexanderSeptember 4, 2015 at 16:15 in reply to: Display a calculated column display value in edit form? #8353Alexander BautzKeymasterHi,
Try adding a “console.log” like this before the line “$(“span.WeightedDocumentVolume”)…”:console.log(qRes);
To see the output you must have the developer console open – hit F12 > Console.
Post the output here.
Alexander
Alexander BautzKeymasterThank you for the feedback, are you 100% sure you haven’t loaded DFFS twice in the form?
Do you see any errors in the developer toolbar (hit F12 > Console)?
Best regards,
AlexanderAlexander BautzKeymasterThank you for the beer!
Alexander
Alexander BautzKeymasterTry changing the query like the attached image and you should be OK.
Let me know how this works out.
Alexander
Attachments:
Alexander BautzKeymasterHi,
You find this in the “Tabs” configuration in the DFFS backend – it is named “Add heading or HTML”.Your text string looks good, but you need to adapt the “query” and the line setting the value in your heading to match the class you used on your <span>
Alexander
Alexander BautzKeymasterHi,
Sorry for the delay.I cannot see any reason why this should not work. Can you attach a few screenshos of the vLookup configuration for this field? – including a screenshot of the field table for the vLookup (you can expand this above or below the viewfields section) to ensure the FIN is correct for the field you use in the query.
Alexander
Alexander BautzKeymasterHi,
This should work, but it might be a timing issue where the cascading dropdown is created before the value is set using vLookup.First ensure you have the latest version of SPJS-casc.js
Then activate the “Write debug information to the top of the page” setting in the cascading dropdown config.
Now you should see the “Single line of text” field below the dropdown – does this have the correct value?
Alexander
Alexander BautzKeymasterThis does not have to do with DFFS, but could it be that the users don’t have rights to see the users in the group? – look at the group settings for the specific group in the “Who can view the membership of the group”.
If this does not help, you can use an “Impersonation step” in the WF to have the WF run with admin (your) rights.
Alexander
Alexander BautzKeymasterHi,
Add this to the Custom CSS textarea in DFFS backend:td.ms-formlabel h3.ms-standardheader{ font-weight:bold; }
Alexander
Alexander BautzKeymasterUsing a readonly representation of a checkbox field makes sense, I have therefore added this to the upcoming release.
Your other request will however not be added as default functionality, but you can add this custom code to achieve it.
Add this to the “Run these functions / trigger these rules” in the rule:
readonlyCheckbox
Then add this to the Custom JS textarea in the “Field table, Custom JS and CSS” tab:
function readonlyCheckbox(){ spjs.$("#dffs_Color").find("input:checkbox").each(function(i,c){ if(spjs.$(c).next().text() === "Blue"){ spjs.$(c).prop("disabled",true); } }); }
Change “Color” to your field internal name and “Blue” to the option you want to set as readonly.
Alexander
Alexander BautzKeymasterHi,
Could you upload a few screenshots so I can see exactly what you mean?Alexander
-
AuthorPosts