Configuring invocation of custom scripts before form submit

NOTE
Ensure that the user has admin privileges to access the administrator console.

Perform the following steps to enable the feature:

  1. Login to the administration console.

  2. Go to Services > forms.

  3. Specify the Output type as Form Body.

  4. Save the settings.

  5. Declare a JavaScript variable, __CUSTOM_SCRIPTS_VERSION, in the head section of the HTML code and set its value to 1.

    NOTE
    To disable the feature, you can remove the JavaScript variable or set its value to 0.

Experience Manager


Espressos & Experience Manager: AEM Forms

Espressos & Experience Manager

Thursday, Mar 6, 7:00 PM UTC

Join Adobe's AEM product team as they highlight AEM Forms' latest innovations, including: the new Gen AI Assistant, Unified Composition with AEM Sites, and new ways to deploy forms through conversations.

Register

Driving Marketing Agility and Scale: Transforming your Content Supply Chain with AI

Online | Strategy Keynote | General Audience

Marketers everywhere are feeling the pressure to deliver impactful campaigns faster and at greater scale. This Strategy Keynote explores...

Tue, Mar 18, 2:30 PM PDT (9:30 PM UTC)

Register

Rapid Feature Releases with AEM Cloud: Telegraph Media Group’s RDE Strategy

Online | Session | Intermediate

Hear how Telegraph Media Group, the award-winning publisher of The Daily Telegraph, The Sunday Telegraph, The Telegraph Magazine,...

Wed, Mar 19, 3:30 PM PDT (10:30 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more