# Use

if you have something like services and every service has a custom form, you can use this plugin to attach a form to this service.

or if you need a Contact Us form to view on your frontend website, you can use this plugin to create a form and attach it to a page.

## Tomato Form Component

you can use this component to view your form anywhere in your app like this

```html
 <x-tomato-form :form="$model" :default="['form_id'=>$model->id]" :action="route('admin.form-requests.store')"></x-tomato-form>
```


---

# 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.tomatophp.com/plugins/tomato-forms/use.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.
