# HTML-form

HTML form is an HTML widget option in which an embedded payment form is placed on your website page. The user selects the currency, enters the amount, and pays the invoice within an iframe on your site without redirection to the CryptoCloud payment page.

### HTML form setup

1. Log in to your dashboard.
2. Go to the «Widget» section in the left menu.
3. Select the project.
4. In the «Widget type», choose «Form».

<figure><img src="/files/y8duMofgeiBox9kNLoEJ" alt=""><figcaption></figcaption></figure>

### Form parameters

During setup, you can:

* choose a dark or light form theme
* change the payment button text
* show or hide the Email field
* set a predefined payment amount
* select the payment page language

All changes are reflected in the preview window in real time.

### Installation on your website

Copy the generated widget code and paste it into the desired location on your website page. After the user clicks the payment button, the invoice opens in an embedded iframe without navigating to an external page.

When enabling payment acceptance via the HTML widget, you can receive [automatic postbacks](/en/api-reference-v2/postback.md) by specifying a notification URL in your project settings.

You can also receive payment notifications in your dashboard, via Telegram, and by email.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cryptocloud.plus/en/buttons-forms/html-widget/form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
