Forum Replies Created
-
AuthorPosts
-
Thank you for this! The results of my testing are that it works wonderfully in my SP2013 environment with a small exception. I have a coded “copy to clipboard” button/function where the alert for it will not close with enter after running.
Over in the SP 2010 environment, your snippet fires my “copy to clipboard” function every time enter is used to close any spjs.dffs.dlgbox. In SP2013 I can workaround by changing my “copy to clipboard” function back to a browser’alert’. But that did not work in SP 2010.//copytoclipboard function copyNotesToClip() { var txtNotes = getFieldValue('Call_x0020_Notes'); spjs.dffs.dlgBox ("Notes successfully copied to clipboard. Paste to system of record before resetting this form."); if( window.clipboardData && window.clipboardData.setData ) { window.clipboardData.setData("Text", txtNotes); } } $(spjs.dffs.fields["Call_x0020_Notes"]).find('.ms-formbody').append("<button class='customBtnA' onclick='copyNotesToClip();return false'>Copy Notes to Clipboard</button>");
Thank you sir! Apparently the ability to use enter is a big deal to these users as I heard from another group about it today. I have several “scripts” for them to read before entering information that are alert box driven. I thought I would ask if there was an easy fix before changing them all back to alert.
Thank you!
I wanted to bump this question as I have been asked to create a contingency plan for SharePoint. We have a popular form built with DFFS that has become a huge part of the department’s daily workflow. However, the company has and is experiencing some IT issues that have SharePoint sites unavailable for large portions of the workday.
Is it possible to have a offline access?
For my particular situation there would be benefit in even working through the information presented in add new form without saving data back to the list as long as the DFFS logic could be applied. In other words No edit or display form would be necessary.Thanks!
I figured out the field:
$(spjs.dffs.fields[“HRR_x0020_Refresh”]).show();Still having trouble figuring out the same for heading.
Found my issue. I was trying to use “Multiple lines of text” column type. Once I changed to ” Single line of text” it is working.
perfect thank you!
found by searching the forums a bit more thanks!
.dffsTabRow{display:none;}
Ended up not using the clipboardjs. This worked for me.
//copytoclipboard function copyNotesToClip() { var txtNotes = getFieldValue('Call_x0020_Notes'); if( window.clipboardData && window.clipboardData.setData ) { window.clipboardData.setData("Text", txtNotes); } } $(spjs.dffs.fields["Call_x0020_Notes"]).find('.ms-formbody').append("<button class='customBtn' onclick='copyNotesToClip();return false'>Copy Notes</button>");
I created a button associated with a function:
<input id="btnNumber1" class="customBtn" type="button" value="Copy Notes" onclick="copytext()">
It is easy enough to create a function placing the field value in a variable
function copytext(){ var notes = getFieldValue("Call_x0020_Notes"); }
I got the developer Zeno to comment that the imperative API would be the way to go.
clipboard.js / demo / function-target.html
But I am not sure what to do it with it.
Any ideas?-
This reply was modified 7 years, 10 months ago by
Bryan Waldrop.
Found this clipboardjs
Looks promising but have still not been able to figure out how to pass field value to it.Works brilliantly thank you!
November 10, 2016 at 19:26 in reply to: People Picker Column doesn't recognize it has been supplied with value #14099Browser: IE 11
Version 11.0.9600.18376
Update Version: 11.0.33November 10, 2016 at 14:12 in reply to: People Picker Column doesn't recognize it has been supplied with value #14093My apologies and thank you for your patience:
Version information
DFFS frontend: 4.4.1
DFFS frontend CSS: 4.19 / 4.19
Autocomplete: 1.4.7
Cascading dropdowns: 3.528
jQuery: 1.7.2
Lookup: 1.1.5
Resource management: not loaded
SPJS-Utility: 1.267
vLookup: frontend v2.2.76November 9, 2016 at 22:46 in reply to: People Picker Column doesn't recognize it has been supplied with value #14073Should it be showing in the top left?
Attachments:
-
This reply was modified 7 years, 10 months ago by
-
AuthorPosts