Skip to content
PatternFly logo

Form

A form is a group of elements used to collect information from a user in a variety of contexts including in a modal, in a wizard, or on a page. Use cases for forms include tasks reliant on user-inputted information for completion like logging in, registering, configuring settings, or completing surveys.

Demos

Basic

Include your middle name if you have one.

 
How can we contact you?
Time zone

Horizontal

Include your middle name if you have one.

How can we contact you? 

Grid

Include your middle name if you have one.

Sections with repeatable fields

 
 
 
 
 
 

Complex form

 
 
  • prometheus=k8s
  • new
Alerting
Define details regarding alerting.
Query
The query specification defines the query command line flags when starting.
Affinity
If specified, the pod's scheduling constraints.
Routing
Exposes your appplication at a public URL.
Public hostname for the route. If not specified, a hostname is generated.
Path that the router watches to route traffic to the service.
Security
Routes can be secured using several TLS termination types for serving certificates.
Health checks
Readiness probe
A readiness probe checks if the container is ready to handle requests. A failed readiness probe means that a container should not receive any traffic from a proxy, even if it's running.
Liveness probe
A startup probe checks if the application within the container is started.
Build configuration
Deployment

View source on GitHub