# Form Submission Event Response Object

**URL:** <https://forum.inductiveautomation.com/t/form-submission-event-response-object/114372>\
**Category:** Ignition\
**Created:** [March 6, 2026, 11:42pm UTC](https://forum.inductiveautomation.com/t/form-submission-event-response-object/114372 "2026-03-06T23:42:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zachary](https://avatars.discourse-cdn.com/v4/letter/z/90db22/32.png) [@Zachary](https://forum.inductiveautomation.com/u/Zachary)\
**Post date:** [March 6, 2026, 11:42pm UTC](https://forum.inductiveautomation.com/t/form-submission-event-response-object/114372/1 "2026-03-06T23:42:42Z")

</div>

I was looking into the documentation for the [Form Submission in Gateway Events](https://www.docs.inductiveautomation.com/docs/8.3/ignition-modules/perspective/scripting-in-perspective/perspective-session-events-scripts).

In the example given for the code they have the following:

> _# Example script for handling form submissions_  
> logger = system.util.getLogger("formSubmissionExample")
> 
> _# Log submission data_  
> logger.info("Received form submission: " + str(data))
> 
> _# Example validation: Ensure 'email' field is provided_  
> _if_ 'email' _not_ _in_ data _or_ _not_ data['email']:  
> response = {  
> "success": False,  
> "title": "Missing Required Field",  
> "message": "Email address is required.",  
> "fieldErrors": {"email": {"title": "Required", "message": "Please enter your email."}}  
> }  
> _else_:  
> response = {"success": True, "title": "Form Submitted", "message": "Thank you for your submission!"}
> 
> _# Return response_  
> response

In this example they have it return a Dictionary. Which with testing is what is displayed on a popup on the screen if there is a success or not a success.

What I can’t find though is what that object can look like. I don’t see in the documentation what keys I can give the object, in this case being response. I also watched some of the videos on the Form Component at Inductive University and don’t see anything on it

Maybe I am just completely missing something? Any help on this would be greatly appreciated!
