# Omit or hide form field response in the form archive file in email notification

**URL:** <https://discuss.workflowgen.com/t/omit-or-hide-form-field-response-in-the-form-archive-file-in-email-notification/993>\
**Category:** General WorkflowGen Discussion\
**Created:** [March 15, 2018, 7:00pm UTC](https://discuss.workflowgen.com/t/omit-or-hide-form-field-response-in-the-form-archive-file-in-email-notification/993 "2018-03-15T19:00:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [March 15, 2018, 7:14pm UTC](https://discuss.workflowgen.com/t/omit-or-hide-form-field-response-in-the-form-archive-file-in-email-notification/993/2 "2018-03-15T19:14:38Z")

</div>

Hi James,

You can include custom code on the submit button:

> [@Form designer: How to add custom code on the submitButton event in the ASP.NET server side code-behind?](https://discuss.workflowgen.com/t/form-designer-how-to-add-custom-code-on-the-submitbutton-event-in-the-asp-net-server-side-code-behind/247):
>
> // PageLoad protected void Page\_Load(object sender, EventArgs e) { base.Page\_Load(sender, e); submitButton.Click += new EventHandler(MySubmitButton\_Click); } protected void MySubmitButton\_Click(object sender, EventArgs e) { // Your code... // If you modify the form field's value then you have to call the 2 instructions below at the end. // this.SaveFormData(this.FormData, true); // SubmitToWorkflow(); } Note: This custom event will happen after the normal Wor…

Once you submit the form, hide the desired section. You will also need to handle displaying it in the next action (Probably in the Page\_Load function)

For further assistance, kindly open a ticket in our helpdesk system.

Best Regards,  
Eddy.

---

_[View the full topic](https://discuss.workflowgen.com/t/omit-or-hide-form-field-response-in-the-form-archive-file-in-email-notification/993)._
