invoking complete button in workspace from xdp form rendered as HTML | Community
Skip to main content
Level 2
November 4, 2021

invoking complete button in workspace from xdp form rendered as HTML

  • November 4, 2021
  • 1 reply
  • 2860 views

Two questions -

1. I render an xdp form as HTML. When in workspace, is there a way to invoke the complete button from the form? 

2. I see a save button in workspace when rendering xdp as html. Is there a way to remove the save button?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Mayank_Tiwari
Adobe Employee
Adobe Employee
November 4, 2021

1. When a form design does not contain a submit button, Workspace disables the Complete button, and users cannot submit the form. When a form design contains a submit button, Workspace hides the submit button and enables the Workspace Complete button[0]. You can use the complete button in place of actual submit button.

 

2. You can disable/hide the save button in HTML Workspace after modifying /libs/ws/js/runtime/templates/taskdetails.html and /libs/ws/js/runtime/templates/startprocess.html, as this is the part of customizing Workspace[1].

 

[0]: https://help.adobe.com/en_US/AEMForms/6.1/DesignerHelp/WS92d06802c76abadb-728f46ac129b395660c-7bb3.2.html

[1]: https://experienceleague.adobe.com/docs/experience-manager-65/forms/use-aem-forms-workspace/generic-steps-html-workspace-customization.html?lang=en

 

RaviMRamAuthor
Level 2
November 4, 2021

Hi Mayank,

 

For your answer to 1. This is not the behavior I am seeing when xdp is rendered as HTML in workspace. The complete button has no link to any buttons on the form and all it can be used for is to submit. It does validations if xfa.host.validationsEnabled is set to true, but other than that, it executes no button in the form. If you want I can show this to you in a meeting session and you can clarify what you are saying. Also, the link that you have provided applies to when you are submitting the form as PDF, not when the form is XDP rendered as HTML. Which takes me back to my original question, how can I invoke the complete button in workspace from my form when I it is an xdp rendered as html.

 

For 2. I'll check out the link you provided and see if I can follow the directions. Thanks.

Mayank_Tiwari
Adobe Employee
Adobe Employee
November 4, 2021

Can you share the form you are using?