Email or URL Encode Function for Forms for Actions

Overview

This article explains how to Encode an Email through Forms for Actions like the following example using Helper Functions in the Auth0 Documentation.

"test+mail@example.org" to "test%2Bmail%40example.org"

 

 

 

Applies To
  • Actions
  • Forms for Actions
Solution

The below function can be used to encode the URL directly in Forms for Actions.

{{ functions.encodeURIComponent('test+mail@example.org') }}

Screenshot 2025-01-15 at 16.06.58.png 

Recommended content

No recommended content found...