> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselooop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Discount Form

> Discount form allows user to input and validate discount codes.

## Setup

<Steps>
  <Step titlt="Discount Form">
    Add a Webflow form indide default state.
  </Step>

  <Step titlt="Discount Form - Attributes">
    Add following attribute to the `Form` element of Webflow form:

    ```html theme={null}
    looop=discountcodeform
    ```
  </Step>

  <Step titlt="Discount Form - Input">
    Add a text input field to the form and add following attributes to it:

    ```html theme={null}
    looop=discountcodeinput
    ```
  </Step>
</Steps>
