An open API service indexing awesome lists of open source software.

https://github.com/vaadin/vaadin-form-example

Example sign-up form with Vaadin 14 featuring cross-field validation, image upload, and form error handling.
https://github.com/vaadin/vaadin-form-example

binder example form java vaadin

Last synced: 16 days ago
JSON representation

Example sign-up form with Vaadin 14 featuring cross-field validation, image upload, and form error handling.

Awesome Lists containing this project

README

          

# Project example for creating a signup form with Vaadin Flow

This project demonstrates how to create a more complex form using Vaadin
Flow's Java API (Binder). The form code can be found in MainView.java. In
addition, AvatarField.java has an implementation of a custom field.

[![Vaadin 14 Form Example](form-example.png)](https://vaadin-form-example.demo.vaadin.com/)

The idea behind this example is to demonstrate various features of the Vaadin Binder, including data binding, automatic validation, error handling, and custom data type handling.

## Running the Application

Import the project to the IDE of your choosing as a Maven project.

Run the application using `mvn spring-boot:run`.

Open http://localhost:8080/ in your browser.

If you want to run the application locally in production mode, run `mvn spring-boot:run -Pproduction`.