Bryan Waldrop

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts
  • in reply to: spjs.dffs.dlgBox vs. browser alert #20329
    Bryan Waldrop
    Participant

      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>"); 
      in reply to: spjs.dffs.dlgBox vs. browser alert #20229
      Bryan Waldrop
      Participant

        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.

        in reply to: Toggle hide fields/headings #20092
        Bryan Waldrop
        Participant

          Thank you!

          in reply to: DFFS Offline Forms #20042
          Bryan Waldrop
          Participant

            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!

            in reply to: Toggle hide fields/headings #19975
            Bryan Waldrop
            Participant

              I figured out the field:
              $(spjs.dffs.fields[“HRR_x0020_Refresh”]).show();

              Still having trouble figuring out the same for heading.

              in reply to: {{FieldInternalName}} in heading #19885
              Bryan Waldrop
              Participant

                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.

                in reply to: Can I set value in DFFS directly from a function? #16846
                Bryan Waldrop
                Participant

                  perfect thank you!

                  in reply to: Hide the only tab #16708
                  Bryan Waldrop
                  Participant

                    found by searching the forums a bit more thanks!

                    .dffsTabRow{display:none;}

                    in reply to: Copy and Paste Notes Field #16620
                    Bryan Waldrop
                    Participant

                      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>"); 
                      in reply to: Copy and Paste Notes Field #16611
                      Bryan Waldrop
                      Participant

                        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.
                        in reply to: Copy and Paste Notes Field #16609
                        Bryan Waldrop
                        Participant

                          Found this clipboardjs
                          Looks promising but have still not been able to figure out how to pass field value to it.

                          in reply to: Count number of selections in a choice field #16560
                          Bryan Waldrop
                          Participant

                            Works brilliantly thank you!

                            Bryan Waldrop
                            Participant

                              Browser: IE 11
                              Version 11.0.9600.18376
                              Update Version: 11.0.33

                              Bryan Waldrop
                              Participant

                                My 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.76

                                Bryan Waldrop
                                Participant

                                  Should it be showing in the top left?

                                  Attachments:
                                Viewing 15 posts - 16 through 30 (of 34 total)