Bryan Waldrop

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • in reply to: JS that utilizes the “Group ID” functionality? #37606
    Bryan Waldrop
    Participant

    Perfect and thank you! Putting money in the piggy bank!

    in reply to: JS that utilizes the “Group ID” functionality? #37604
    Bryan Waldrop
    Participant

    I am familiar the following custom js for working with a single column but I seem to be missing some syntax for the group id method above for group ID:

    $(“#dffs_FieldInternalName”).hide();
    $(“#dffs_FieldInternalName”).show();
    spjs.dffs.flag_Mandatory([“FieldInternalName”]);
    spjs.dffs.clear_Mandatory([“FieldInternalName”]);
    spjs.dffs.doReadOnly([“FieldInternalName”]);

    in reply to: JS that utilizes the “Group ID” functionality? #37602
    Bryan Waldrop
    Participant

    What would showing fin look like?

    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

    • This reply was modified 2 years, 6 months ago by Bryan Waldrop.
    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]);
    • This reply was modified 3 years, 4 months ago by Bryan Waldrop.
    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.

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