Approval Button

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

03 Oct 2018

Hi!

Am I correct, that a code in your Approve button OnClick event is:

Code: Select all

fd.field('PercentComplete').value('100');
fd.field('Status').value('Completed');
$('.workflow-outcome-field').find('input').val('Approved');
If it doesn't work, then most likely Workflow 2010 tasks do not support custom forms and the original article (https://spform.com/buttons/customizatio ... oint-forms) has been written for Workflows 2013, so moving to Workflow 2013 will solve this issue.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests