# Form designer: Hide the Submit button when a post back is needed

**URL:** <https://discuss.workflowgen.com/t/form-designer-hide-the-submit-button-when-a-post-back-is-needed/271>\
**Category:** Form Designer\
**Created:** [July 23, 2014, 2:09am UTC](https://discuss.workflowgen.com/t/form-designer-hide-the-submit-button-when-a-post-back-is-needed/271 "2014-07-23T02:09:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [July 23, 2014, 2:09am UTC](https://discuss.workflowgen.com/t/form-designer-hide-the-submit-button-when-a-post-back-is-needed/271/1 "2014-07-23T02:09:52Z")

</div>

### Issue

When network performance is slow and a postback is needed (such as when the user clicks on a radio button that displays another field), the Submit button still appears during the page load.

### Solution

A simple solution is to use client-side JavaScript to hide the submit button in all your web controls that triggers a `Page.PostBack`.

For example, If you have a `RadioButtonList` control that upon selection of a value will trigger a `PostBack` to show or hide the Subject field. In that `RadioButtonList`'s **Settings / Custom attributes / Add a new attribute** , add `onchange` with the code to hide the Submit button.
