Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Floating field to display the Form version, not viewer version


Level 2

Is there a scrip that will display the form version as I have entered into the form properties?

I see that there is a viewer version and it says "10.003"

But i want the form version to display. so the first form would be form version 1.

1 Reply


Level 10


The default for the Viewer is just what LC Designer puts in (eg the version of LC Designer). But you can change this to whatever you want: "1.0", "Version 1.0", etc.

Parallels Desktop1.png

You can access this value with the following JavaScript - form1.desc.version.value for example:

this.rawValue = form1.desc.title.value + ", " + form1.desc.version.value + ", " + form1.desc.issued.value;

Hope that helps,