# FAQ's

**Kann ich auch das Formular via Url einbinden?**

Ja, das können Sie entweder als Url oder auch als Modal Fenster

### Methoden

### per Twig&#x20;

ID wäre dann die ID des Formulars.

Diese können Sie schnell rausfinden, indem Sie in der administration auf die Detailseite der Formular Konfiguration gehen

Die Url in Ihrem Browser lautet dann zum Beispiel wie folgt

{% code overflow="wrap" lineNumbers="true" %}

```
/admin#/pixelforms/config/detail/00000000000000000000000000000000
```

{% endcode %}

Der String am Ende (**00000000000000000000000000000000**) wäre dann die ID des Formular

Damit das Formular als Modal geöffnet werden soll, muss am Ende noch **"?modal=true"** eingesetzt werden

#### **Beispiel als Link der ein Modal  (Popup ) öffnet**

{% code overflow="wrap" lineNumbers="true" %}

```twig
<a data-ajax-modal="true" data-url="{{ seoUrl('frontend.pixelforms.form', { id: '00000000000000000000000000000000' }) }}?modal=true" href="{{ seoUrl('frontend.pixelforms.form', { id: form.id }) }}?modal=true" title="Kontaktformular">Kontaktformular</a>
```

{% endcode %}

#### **Beispiel als Link der das Formular in einem neuen Fenster öffnet**

{% code overflow="wrap" lineNumbers="true" %}

```
<a href="{{ seoUrl('frontend.pixelforms.form', { id: form.id }) }}" title="Kontaktformular" target="_blank" >Kontaktformular</a>
```

{% endcode %}

### Oder per HTML

#### **Aufbau:**  /forms/Formular?modal=true

Am Anfang kommt immer "**/forms/"**

Dann die Überschrift des Formulars "**Formular"**

Damit das Formular als Modal geöffnet werden soll, muss am Ende noch **"?modal=true"** eingesetzt werden

#### **Beispiel als Link der ein Modal  (Popup ) öffnet**

{% code overflow="wrap" lineNumbers="true" %}

```html
<a data-ajax-modal="true" data-url="/forms/Formular?modal=true" href="/forms/Formular?modal=true" title="Kontaktformular">Kontaktformular</a>
```

{% endcode %}

#### **Beispiel als Link der das Formular in einem neuen Fenster öffnet**

{% code overflow="wrap" lineNumbers="true" %}

```
<a href="/forms/Formular" target="_blank" title="Kontaktformular">Kontaktformular</a>
```

{% endcode %}


---

# 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.pixeleyes.de/anleitungen-instructions/english/documentation-of-our-shopware-6-plugins/forms-manager-for-shopware-6/faqs.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.
