Forum Replies Created
-
AuthorPosts
-
Thanks, Alex! That worked like a charm. I was afraid to try preloaddata since it was a large list and I thought it would slow down the form initialization but it doesn’t and the lookup is immediate now. Thanks again!
Perfect. Thank you!
Last question, can the field simply be renamed by prepending Odata_ or will the field need to be recreated?
I assume field names without underscores are still fine?
Your solution worked nicely. Thank you. I attempted to set a rule on change of the people picker field to execute my function but that isn’t working either. I figured out a way around it but if you decide to add support of the setFieldValue could you also take a look at the on change issue? Thanks again.
Could this be a future enhancement? Should I add it to the requests forum?
Does not occur in 4.4.2.9.
- This reply was modified 6 years, 10 months ago by Kasey.
I haven’t tried since version 3.x. Cant remember specifically which version since it has been a couple of years but I know it didn’t work back then. I’ll be setting up a new BCS list at which point i can retry with your latest version.
I figured this out!
I should have mentioned I will need to pass two values from the child item to the function on click so that I can build my url and open it in a new window.
Try using equals and leave the value field blank.
Fantastic. Thank you!
That did the trick! Thank you!
I’m not using SharePoint online and am having the same problem. Below is an example of one of my functions that is failing. How would I remedy this in the custom js section?
$(“#dffs_IntakeDate”).find(“input”).datepicker({
onSelect: function(updatePreIntake){spjs.dffs.triggerRule([“IntakeDateTargetChange”]);},
constrainInput: true,
maxDate: ‘+60d’, //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();var SponsorGroup = getFieldValue(“Business_x0020_Objectives”)
//CONSUMER VEHICLE LENDING
if(SponsorGroup == “Consumer Vehicle Lending”){
var strDay = 3;
}
else{
var strDay = 4;
}
return [(day == strDay), ”];
}
}).attr(‘readonly’, ‘readonly’);Thanks. That helped but is there anything I can do so I don’t have to update each form configuration? I have a custom css file I already load. Can I add something there?
-
AuthorPosts