Change Freeze

Change Freeze

Hi there,

There have been a few posts requesting change freeze functionality from around 6 years ago.

It's on the roadmap for release however in the meantime it can be manually achieved by placing a field and form rule on submit with the code below.

Hopefully this will be useful to others.

  1. //Specify Change Freeze Dates here
  2. frzstart = new Date('25 Dec 2019, 00:00:00');
  3. frzend = new Date('29 Dec 2019, 00:00:00');

  4. // If change start or end dates are within the freeze window
  5. // the form submission will be cancelled and the user will get
  6. // a popup message.

  7. if(chgstart > frzstart && chgstart < frzend){
  8.   alert("Within xmas change freeze");
  9.   $CS.stopFormSubmission();
  10. }

  11. else if (chgend > frzstart && chgend < frzend){
  12.   alert("Within xmas change freeze"); 
  13.   $CS.stopFormSubmission(); 



                  New to ADSelfService Plus?