top of page

Adding Form Submission Time to Wix Automations


Ascend by Wix


Wix Automations



First Requested:

March 15, 2022 at 3:35:25 PM

Last Updated:

May 25, 2023 at 10:24:04 AM


Currently when setting up an automation with Wix Forms or forms made with
input elements, it is not possible to use a form's submission time in the
action. Setting 'submission time' would allow you to add a timestamp for
different actions, based on the exact time a form was submitted.

As a workaround, you can add form submission time using Velo by Wix, a
platform used for building customized web applications. See the workaround

We are always working to update and improve our products, and your feedback is
greatly appreciated.

If this is a feature you would like to see in the future, please click **Vote
for this feature** and we'll make sure to keep you updated.

* * *

## To add form submission time in Velo:

When working with forms in Velo, you can create a variable that equals new
Date ( ), and write an onClick event handler for the submit button that
defines the hidden fields value to equal the new Date ( ) variable. For

$w.onReady(function () {
$w("#wixForm").onWixFormSubmit((event) => {
let time = new Date();
$w('#hiddenField').value = time.toString();

Make sure you add a text field ('short text' in Wix Forms settings) and set
that field to 'hidden' in the developer console. Adding a date/time field will
not work for this solution.

bottom of page