Sample Form
Deprecated: Form Builder / Legacy Forms
Recommendation
Use a content type to create a form; use the workflow viewtool or workflow API to ingest each submission as a new contentlet of that content type.
See How to Build A Schema Driven Form in dotCMS for a tutorial.
Reason
Original legacy form functionalities, such as the FormTool, depended on Struts components, removed years ago — version 5.2.0, back in 2019.
The successor, the Form Builder, has likewise aged out; it renders out-of-date (sometimes nonstandard) tags that frequently fall short of WCAG or other standards, and custom fields like a captcha are not possible. Given more coherent alternative methods outlined above, we deemed this feature no longer worth updating.
** The codeless Form Creation documentation has been deprecated. ** Please see the REST API Form Creation documentation.
Following the steps in the Form Creation documentation creates a form similar to the following form sample (form fields are custom to each form). For complete instructions on creating a Form in dotCMS, please see the REST API Form Creation documentation. This form is a REST API Form and can be found on the demo site at ** https://demo.dotcms.com/admin ** (U: admin@dotcms.com | P: admin). The path to the form is: ** https://demo.dotcms.com/demos/rest-content-save **
As each form is submitted, an email is sent to that particular form's administrator and a separate piece of content is stored in the content repository.
The codeless Form Creation documentation has been deprecated.