Steps to reproduce the error
1 Start the process and render the form
2 Fill in text in the text box and select a file
3 Click Save
4 Change focus by clicking on the Diagram tab
5 Return to the form by clicking the Form tab
6 Now the text value is restored but not the file selection
7 Select the file again
8 However the Complete button remains de-activated
I cannot reactivate the Complete button short of deleting the process in Cockpit and start again :
1 Is there something else I can do to reactivate the Complete button?
2 Is this a bug or is there something wrong with my embedded form?
I’ve re-installed 7.9 and can confirm that the Complete button remains de-activated for both Chrome 64 and Firefox 60.
I’m not too eager to install alpha software, and will await the release of 7.10 at the end of November.
Until then, I’ve removed the Save button on embedded forms.
Here is the code for others who come across this bug:
var oSaveButton = document.querySelector("button.btn-default.ng-scope");
oSaveButton.classList.add('hidden');
but without any success until now.
My problem is that when I click on anywhere else in the Tasklist and coming back in the Form tab, my current values get lost and aren’t restored
Could you please give me any possible hints on this ?
var oSaveButton = document.querySelector(“button.btn-default.ng-scope”);
oSaveButton.classList.add(‘hidden’);
to the script in my forms I get an error while opening the forms Form failure: Cannot read property ‘classList’ of null
What am I doing wrong? I want to hide the Save buttom.
$scope.options.hideCompleteButton = true;
hides both save & complete buttoms, but I don’t want to hide the Complete buttom)