Custom Form Generator

This Form will generate php script for custom form that can be used in Drupal 9 and Drupal 10 custom modules.

Drag and Drop fields you want add to your custom form, edit attributes in dropped elements, click Get results button after adding all elements

In advanced options you can inject services in form.

you can copy paste code or download as a custom module with route, compatible with Drupal 9 and Drupal 10 versions.

after submission, you will get custom form code in same page.

Please note, this is a beta version, some attributes and fields not yet added , we will be updating this soon.

Please provide a custom module name.
Please provide a custom form name.
Include route for form
Path (in routing.yml)/
Arrange fields in

Download the form as Module