Customizing A Calendar Form
Posted: 30 Aug 2019
I am attempting to do two things.
1) I want to always set the "All Day" boolean (checkbox) to true.
2) I want to fill the Title field with the text value of a SharePoint lookup field (not a Cross Site Lookup control).
Should I do both of these things on the onsubmit handler? What would the code look like?
This is what I have:
1) I want to always set the "All Day" boolean (checkbox) to true.
2) I want to fill the Title field with the text value of a SharePoint lookup field (not a Cross Site Lookup control).
Should I do both of these things on the onsubmit handler? What would the code look like?
This is what I have:
Code: Select all
fd.field('OnCall').change(function(){
fd.field('Title').value(fd.field("OnCall").value());
});
fd.field('fAllDayEvent').value('1');