# How to block URL

**URL:** <https://community.hubspot.com/t/how-to-block-url/87691>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [August 17, 2023, 8:26am UTC](https://community.hubspot.com/t/how-to-block-url/87691 "2023-08-17T08:26:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AKowshik](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@AKowshik](https://community.hubspot.com/u/AKowshik)\
**Post date:** [August 17, 2023, 8:26am UTC](https://community.hubspot.com/t/how-to-block-url/87691/1 "2023-08-17T08:26:12Z")

</div>

I have a Url that is opening after submitting the form, we have to block the URL usage without submitting the form . How to do that?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 18, 2023, 2:53pm UTC](https://community.hubspot.com/t/how-to-block-url/87691/2 "2023-08-18T14:53:25Z")

</div>

Hi, @AKowshik 👋 Thanks for your question. Can you tell the community more about your form?

For example, is your form a HubSpot form?

If yes, is it a standalone or embedded form?

If embedded, is it embedded on a HubSpot or non-HubSpot page?

This section of the documentation — [Customize your form options](https://knowledge.hubspot.com/forms/create-forms#customize-your-form-options), covers the expected behaviour and how to modify it depending on how you’re set up.

If you need more flexibility, you can look at creating a custom coded form and using our [Forms API](https://legacydocs.hubspot.com/docs/methods/forms/submit_form_v3_authentication) to submit the data.

And lastly, if you have a custom for, can you share a link to a live example? It’s challenging for the community to give you feedback without more details.

Best,

Jaycee
