Forum Replies Created
-
AuthorPosts
-
Hi Adam,
Thank you for taking the time to post this example.Alexander
Hi,
Sorry for the delay.You enter the backend configuration from the link “Enhanced with DFFS” below the form (NewForm, DispForm and EditForm).
No need to add any code to the server side. All is stored in a list in the site you set up DFFS in (you can see this list in All site contents, but this is not to be hand edited).
Hope this helps,
AlexanderIt seems I have a typo in the screenshot – use lower case “i” in “promptCheckin” in the rule – to correspond with the function in the Custom JS.
Alexander
Hi,
You can find it by looking at the page source – depending on which version of SharePoint you use, the variable is either “L_Menu_LCID” or “currentLanguage” as property of the “_spPageContextInfo” object.Could you have other errors in some custom code that causes this? – look at the developer console (hit F12 > Console).
Alexander
Could you have hidden the “Enhanced with DFFS” link in the configuration for this form (in the Misc tab) – if you have any config already saved.
What type of list is it you are trying to use DFFS with?
Could you try setting DFFS up with another list to test if it is an issue for this form only?
Alexander
Hi,
It’s hard to tell what it could be, but ensure you have the DFFS_frontend web part below the form web part.Was this the issue? – if not, do you see any errors in the developer console? (hit F12 > Console)
Alexander
I’m glad you figured it out.
Alexander
Hi Corina,
What LCID (language) are you using in your SharePoint site?Alexander
I’m glad you figured it out. Please let me know if you encounter other oddities.
Alexander
Can you verify that you are editing the backend for NewForm or EditForm? Also, please ensure you have the correct “src” to the spjs_casc.js script in the DFFS backend.
Alexander
Hi,
Sorry for the delay. I will look into adding support for “OR these rules = true” in the trigger area to be able to support such a scenario.Here is a little code snippet you may use in the meantime – add it to the custom js area:
// Onclick $("#dffs__x0035_307Compliant, #dffs__x0035_311Compliant").find("input:checkbox").bind("click",function(){ customShowHideTab(); }); function customShowHideTab(){ var a = getFieldValue("_x0035_307Compliant"); var b = getFieldValue("_x0035_311Compliant"); if(a||b){ $("#dffs_tab_1").show(); }else{ $("#dffs_tab_1").hide(); } } // On load customShowHideTab();
Change “_x0035_307Compliant” and “_x0035_311Compliant” for your field names, and change “dffs_tab_1” to match the index (0-based) of the tab you want to toggle.
Alexander
Hi,
Sorry for the delay. I have not seen this before, but If you post the code here (as a txt file attachment) I can take a look to see if there is something obvious.Alexander
Hi,
Unfortunately I have no experience with using the publishing features in SP so I have never looked into this but your fix, looks pretty “light weight” and if it works, I would say it is spot on 🙂Alexander
I’m glad it worked out.
Alexander
Is it possible for me to log in and have a look?
If so, please send login information by email. You find my address in the “About me” tab above.
Alexander
-
AuthorPosts