Skip to content

Web Form Template

About the Project

A simple customizable web form built using USWDS Form.io Template Module.

https://dsacms.github.io/web-form-template/

To produce the form, a JSON schema is ingested where it transforms each field to a Form.io component. The form can support the following question/field types:

  • Short text answer
  • Multiple-choice question
  • Multi-select question
  • Numeric field
  • List of free-text entries
  • True or False
  • Date/time entry
  • Table / Datagrid containing sub-fields
  • Email address
  • Website or link

Once submitted, the form data is converted into structured JSON data ready to be shared. The output can copied, downloaded as a JSON file, emailed, and sent via issue or pull request to the GitHub repository.

This form is designed to be based on any JSON schema, making it highly customizable and adaptable to a wide range of use cases. Using schema.json, developers can generate forms with question types, validation rules, and value structures. Because the form is schema-based rather than hardcoded, it can be extended to support nearly any data collection workflow, from simple intake forms to more complex structured submissions.

Review schema.json to see what components and field types are available for use.

To run the project:

python3 -m http.server 8000 

{{ cookiecutter.project_name }}

{{ cookiecutter.project_description }}

About the Project

{project statement}

Core Team

A list of core team members responsible for the code and documentation in this repository can be found in COMMUNITY.md.

Feedback

If you have ideas for how we can improve or add to our capacity building efforts and methods for welcoming people into our community, please let us know at opensource@cms.hhs.gov. If you would like to comment on the tool itself, please let us know by filing an issue on our GitHub repository.

Policies

Open Source Policy

We adhere to the CMS Open Source Policy. If you have any questions, just shoot us an email.

Security and Responsible Disclosure Policy

Submit a vulnerability: Vulnerability reports can be submitted through Bugcrowd. Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days.

For more information about our Security, Vulnerability, and Responsible Disclosure Policies, see SECURITY.md.

Software Bill of Materials (SBOM)

A Software Bill of Materials (SBOM) is a formal record containing the details and supply chain relationships of various components used in building software.

In the spirit of Executive Order 14028 - Improving the Nation’s Cyber Security, a SBOM for this repository is provided here: https://github.com/DSACMS/web-form-template/network/dependencies.

For more information and resources about SBOMs, visit: https://www.cisa.gov/sbom.

Public domain

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication as indicated in LICENSE.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request or issue, you are agreeing to comply with this waiver of copyright interest.

About

A Static Web Form Template that uses USWDS

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages