Bryan Waldrop

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • in reply to: Clear Selected Options from multiselect #34881
    Bryan Waldrop
    Participant

    Thank you!

    I also found this solution to clear visible selections:

    $("#Selection2_casc").empty();

    Where my field name is Selection2

    in reply to: Check Unique Field before completing form. #34869
    Bryan Waldrop
    Participant

    Thank you so much as always! The on blur automated solution is much more elegant and very appreciated.

    in reply to: custom add new item button #34467
    Bryan Waldrop
    Participant

    Thank you very much!

    in reply to: Capture User Input in Popup #32153
    Bryan Waldrop
    Participant

    Much appreciated! thank you sir!

    in reply to: Capture User Input in Popup #32122
    Bryan Waldrop
    Participant

    could the multichoice be modified to use the values of other columns as choices?

    I gave this a whirl but no go

    
    
    function popUpMultichoiceSelect(fin, arrOfOptions) {
        var b = [];
        var cx=getFieldValue('phone1');
        var dx=getFieldValue('phone2');
        b.push("<div id='customMultichoiceSelector'>");
        jQuery.each(arrOfOptions, function (i, v) {
            b.push("<input id='customMultichoice_" + i + "' type='checkbox' value='" + v + "'><label for='customMultichoice_" + i + "'>" + v + "</label>");
        });
        b.push("</div>");
        spjs.dffs.alert({
            "title": "Multichoice Example",
            "msg": b.join(""),
            "ok": function () {
                var arr = [];
                jQuery("#customMultichoiceSelector").find("input:checkbox:checked").each(function (i, elm) {
                    arr.push(jQuery(elm).val());
                });
                setFieldValue(fin, arr);
            },
            "cancel": function () {
                // Close dialog
            }
        });
    }
    popUpMultichoiceSelect("phselect", [cx,dx]);
    in reply to: Rules to set date field value to a calculated value #29358
    Bryan Waldrop
    Participant

    Thank you sir! This works brilliantly and is something I will be able to reuse in many applications. Piggy Bank utilized!

    in reply to: Rules to set date field value to a calculated value #29339
    Bryan Waldrop
    Participant

    Thank you! That works perfectly if today is a Monday or Tuesday. Even Wednesday skips Sat and Sun to generate Monday as the new_date. However, if today is a Thursday or Friday then Monday is also selected as new_date instead of Tue/Wed?

    in reply to: Rules to set date field value to a calculated value #29304
    Bryan Waldrop
    Participant

    Hi Alexander!
    What would “add 3 business days to todays date” look like?

    Thanks!

    in reply to: left justify vlookup column #28833
    Bryan Waldrop
    Participant

    <attached>

    Training Type is the vlookup column. I would like the value “cross training” to align with the Name of Trainer and Assigned Trainer columns.

    Attachments:
    in reply to: User ID from User Infomation List / People picker. #27612
    Bryan Waldrop
    Participant
    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.

Viewing 15 posts - 1 through 15 (of 29 total)