Kasey

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 91 total)
  • Author
    Posts
  • in reply to: Overlay strangeness #8824
    Kasey
    Participant

    No, it is definitely above the form web part. I did a test and used your previous version of the overlay and the issue does not exist.

    in reply to: Unable to get value of the property 'toString' #8818
    Kasey
    Participant

    I resolved my DispForm issue. I had a rule that was calling a function that was trying to make fields mandatory on a display form. I’m not sure if that was the exact issue but I disabled all rules that would not have pertained to a display form and the issue is resolved.

    However, would you be able to point me to what is wrong with the above code for New/Edit form? Are there functions that you removed or renamed that would cause that issue?

    in reply to: Unable to get value of the property 'toString' #8816
    Kasey
    Participant

    Unfortunately that is all that it gives me. It only happens on DispForm and only on one list. I removed all custom JS to make sure that wasn’t the issue. I had a similar issue with the NewForm but when I took the below custom JS out that error stopped.

    ERROR: SCRIPT65535: Unexpected call to method or property access.

    Custom JS: ` //BEGIN JQUERY UI DATEPICKER

    $(“#dffs_ReadyForReview”).find(“input”).datepicker({
    constrainInput: true,
    maxDate: ‘+365d’, //sets the maximum selectable date.. in this case 60 days from today
    minDate: ‘+1d’, //sets the minimum selectable date.. in this case tomorrow
    beforeShowDay: //determines which days are selectable.. in this case Thursday only
    function (date) {
    var day = date.getDay();
    return [(day == 1 || day== 5), ”];

    }
    }).attr(‘readonly’, ‘readonly’);
    // You might also want to hide the default calendar icon
    $(“#dffs_ReadyForReview”).find(“img”).hide();

    //END JQUERY UI DATEPICKER (Firday or Monday)

    function tollgateSave(){

    if(getFieldValue(“IsAdmin”)==”0″){
    if(getFieldValue(“MilestonePhase”,”disp”)!==”Status Update”){

    alert(“To successfully schedule this tollgate/change control, the \”Ready For Validation\” checkbox and this HLC DB project record must be fully updated by Tuesday 12:00 ET.\n\nPrior to selecting \”Ready For Validation\” please also ensure that Christian Bowers and Brooke Thompson have been granted access to Project Repository URL in order to validate any required deliverables for all tollgates.\n\nAfter the deadline on the week scheduled, you can expect an additional notification email confirming successful validation of this scheduled item.”);

    }
    }
    }

    function formReady(){
    if(getFieldValue(“MultiPhase”)==”Yes”){
    spjs.dffs.unhideFieldsByRule([“Phase”]);
    spjs.dffs.flag_Mandatory([“Phase”]);
    }
    else{
    spjs.dffs.hideFieldsByRule([“Phase”]);
    spjs.dffs.clear_Mandatory([“Phase”]);
    }
    }`

    in reply to: Overlay strangeness #8814
    Kasey
    Participant

    This is on 2010 so I’m not using JSLink. Any other ideas? I thought it had something to do with my masterpage but even after switching over to standard v4 I still have the issue.

    in reply to: Cascading Dropdowns losing dffs-formvalidation class #7627
    Kasey
    Participant

    I think I caused my own problem. Sorry for any confusion.

    1. I had a field called FIELD1 that was a cascading drop down
    2. I added custom JS to change the label
    a. $(fields[‘FIELD1’]).find(“.ms-formlabel h3”).text(“Field 1 Friendly”);
    3. It no longer appeared to be required

    Fix
    1. I updated the jquery to include the * in the renamed label
    2. I added jquery to make the * red

    $(fields[‘FIELD1’]).find(“.ms-formlabel h3”).text(“Field 1 Friendly *”);

    $(“h3”).each(function() {
    var html = $(this).html().replace(/\*/g, “<span class=\”asterisk\”>*</span>”);
    $(this).html(html).find(“.asterisk”).css(“color”, “red”);
    });

    • This reply was modified 5 years ago by Kasey.
    • This reply was modified 5 years ago by Kasey.
    in reply to: Form Field Cache #7092
    Kasey
    Participant

    I’m not possitive but I think in custom js this might work..

    $(‘#field’).autocomplete( “disable” );

    in reply to: Form Field Cache #7091
    Kasey
    Participant

    If I create a form in html I can do the below. Is there any workaround in DFFS to accomplish the same thing?

    <form autocomplete=”off”>

    </form>

    in reply to: DFFS 4.253 #7063
    Kasey
    Participant

    I updated to 4.253 with spjs-utility 1.204. Should I be seeing the below? I do have 11 people fields but I thought this was addressed in the most recent version.

    The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator.Operations that exceed the list view threshold are allowed in the following time window defined by the administrator: <br/><b>Daily, from 8:00:00 PM to 10:00:00 PM . </b>

    in reply to: Tooltip Position Issue #6328
    Kasey
    Participant

    I got this one working. I beutified the frontend js and was able to figure out a clickToolTip function to add to the front end aspx like the one you gave me for hover. Thank you.

    in reply to: Tooltip Position Issue #6327
    Kasey
    Participant

    Is there something I can do to adjust the onclick? I got the hover working but the onclick still has the same positioning issue. Will these be addressed in your upcoming release? Thank you as always!

    in reply to: Rules on Date Fields thowing an error #6322
    Kasey
    Participant

    Alexander,

    When do you think you will be releasing 4.101 front end to fix the date issue? Also, is it possible to use [today] in the trigger? Date1 greater than [today]-90 for example? If not can a calculated column be used date1 greater than {fieldinternalname}? Thank you as always!

    in reply to: Tooltip Position Issue #6319
    Kasey
    Participant

    I changed the below and it is now working. Thank you!

    if($(“#s4-workspace”).length > 0
    to
    if($(“#s4-workspace”).length < 0

    in reply to: Tooltip Position Issue #6318
    Kasey
    Participant

    Thank you for the quick reply. I added the function but I am getting the same result.

    in reply to: New version 4 #6266
    Kasey
    Participant

    Hello, Alexander

    I am wondering if getFieldValue should work on my dispForm? I am using v4 and I can use getFieldValue on my newForm but the exact same custom js on dispForm returns undefined. Thank you.

    in reply to: New version 4 #6258
    Kasey
    Participant

    When using custom js to set a fields value if I have a rule on change for that field the rule doesn’t execute. I understand why but am wondering if there is some js I can use to trigger the rule after I update the field using setFieldValue? Basically, can I trigger a rule or all of the rules in custom JS?

Viewing 15 posts - 76 through 90 (of 91 total)