Set EndDate to EventDate

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
cmagnan
Posts: 23
Joined: Fri Jan 26, 2018

08 Mar 2018

Hi,

Is it possible to set the EndDate to EventDate when I am saving the event?

Thanks
Catherine

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

12 Mar 2018

Dear Catherine,
Please try the following code:

Code: Select all

fd.onsubmit(function(){
	fd.field('EndDate').value(fd.field('EventDate').value());
	return true;
});
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests