# Application & Submission / Government Form Government form with validation patterns including auto-save, inline errors, steppers, various input types (text, select, radio, checkbox, slider, toggle). **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-application-submission-government-form--desktop ## Pattern variants - Desktop: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-application-submission-government-form--desktop - Desktop Workspace: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-application-submission-government-form--desktop-workspace - Card: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-application-submission-government-form--card ## When to use this pattern Use Application & Submission / Government Form when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook. ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Application & Submission / Government Form. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Card — Form - Default State HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample1Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Card Layout: Purple BG + Centered White Card */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address */}
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample1Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
₹3.2 Lakh
Receive application status updates via SMS
``` ### 2. Card — Form - Inline Error HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample2Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Card Layout: Purple BG + Centered White Card */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample2Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS
``` ### 3. Card — Form - Multi-field Error HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample3Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Card Layout: Purple BG + Centered White Card */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Error Summary Alert */}
error
3 fields need your attention. Fix them to continue. Jump to error
{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number - Error State */}
error Mobile number must be 10 digits.
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number - Error State */}
error Aadhaar must be 12 digits.
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample3Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS
``` ### 4. Card — Form - Success HTML: ```html
done

Application sent!

We will review and contact you within 3 working days.

``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample4Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Card Layout: Purple BG + Centered White Card */}
{/* Success Badge */}
done
{/* Success Heading */}

Application sent!

We will review and contact you within 3 working days.

{/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample4Demo; ``` Angular: ```html
done

Application sent!

We will review and contact you within 3 working days.

``` ### 5. Desktop — Form - Default State HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample5Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full Screen Layout */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address */}
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample5Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
₹3.2 Lakh
Receive application status updates via SMS
``` ### 6. Desktop — Form - Inline Validation Error HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample6Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full Screen Layout */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample6Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS
``` ### 7. Desktop — Form - Submission Error HTML: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample7Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full Screen Layout */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Stepper (from Journey Progress Indicator pattern) */}
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Form Header */}

Personal information

Please enter your details. We use this to verify your application.

{/* Error Summary Alert */}
error
3 fields need your attention. Fix them to continue. Jump to error
{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number - Error State */}
error Mobile number must be 10 digits.
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number - Error State */}
error Aadhaar must be 12 digits.
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */} {/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample7Demo; ``` Angular: ```html
check_circle Saved 3:14 PM
  • Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit

Personal information

Please enter your details. We use this to verify your application.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS
``` ### 8. Desktop — Form - Submission Success HTML: ```html
done

Application sent!

We will review and contact you within 3 working days.

``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample8Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full Screen Layout */}
{/* Success Badge */}
done
{/* Success Heading */}

Application sent!

We will review and contact you within 3 working days.

{/* Actions */}
{/* Footer Branding */}
Powered by -
); export default ApplicationSubmissionGovernmentFormExample8Demo; ``` Angular: ```html
done

Application sent!

We will review and contact you within 3 working days.

``` ### 9. Desktop Workspace — Form - Default State HTML: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
₹0
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample9Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full-width Stepper Bar */}
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Workspace Content Area */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Two Column Layout */}
{/* Left Column: Form */}
{/* Form Header */}

Section 2: Personal Details

Please provide your personal information as required for the certificate.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address */}
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹0
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */}
{/* Right Column: Sidebar */}

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
{/* Sticky Footer Action Bar */}
); export default ApplicationSubmissionGovernmentFormExample9Demo; ``` Angular: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
₹0
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` ### 10. Desktop Workspace — Form - Inline Error HTML: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample10Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full-width Stepper Bar */}
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Workspace Content Area */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Two Column Layout */}
{/* Left Column: Form */}
{/* Form Header */}

Section 2: Personal Details

Please provide your personal information as required for the certificate.

{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number */}
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number */}
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */}
{/* Right Column: Sidebar */}

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
{/* Sticky Footer Action Bar */}
); export default ApplicationSubmissionGovernmentFormExample10Demo; ``` Angular: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
error Enter a valid email address (e.g. you@example.com).
₹3.2 Lakh
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` ### 11. Desktop Workspace — Form - Submission Error HTML: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample11Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full-width Stepper Bar */}
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
{/* Workspace Content Area */}
{/* Auto-save Status Bar */}
check_circle Saved 3:14 PM
{/* Two Column Layout */}
{/* Left Column: Form */}
{/* Form Header */}

Section 2: Personal Details

Please provide your personal information as required for the certificate.

{/* Error Summary Alert */}
error
3 fields need your attention. Fix them to continue. Jump to first error
{/* Aadhaar Link */} From Aadhaar · Update via UIDAI open_in_new {/* Form Fields */}
{/* Full Name */}
{/* Mobile Number - Error State */}
error Mobile number must be 10 digits.
{/* Email Address - Error State */}
error Enter a valid email address (e.g. you@example.com).
{/* Aadhaar Number - Error State */}
error Aadhaar must be 12 digits.
{/* State of Residence */}
{/* Marital Status (Radio Inline) */}
{/* Brief Reason (Textarea) */}
{/* Annual Income Slider */}
₹3.2 Lakh
{/* SMS Toggle */}
Receive application status updates via SMS
{/* Confirmation Checkbox */}
{/* Right Column: Sidebar */}

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
{/* Footer Action Bar */}
); export default ApplicationSubmissionGovernmentFormExample11Demo; ``` Angular: ```html
  • 1
    Eligibility
  • Personal
  • 3
    Documents
  • 4
    Submit
check_circle Saved 3:14 PM

Section 2: Personal Details

Please provide your personal information as required for the certificate.

From Aadhaar · Update via UIDAI open_in_new
error Mobile number must be 10 digits.
error Enter a valid email address (e.g. you@example.com).
error Aadhaar must be 12 digits.
₹3.2 Lakh
Receive application status updates via SMS

Your personal details are used to verify your identity and ensure the accuracy of the income certificate generated. Linking with Aadhaar ensures government compliance and faster processing.

  • Aadhaar Card
  • PAN Card
  • Income Proof
  • Address Proof
``` ### 12. Desktop Workspace — Form - Success HTML: ```html
  • 1
    Eligibility
  • Personal
  • Documents
  • Submit
done

Application sent!

We will review and contact you within 3 working days.

``` React: ```jsx import React from 'react'; const ApplicationSubmissionGovernmentFormExample12Demo = () => ( <>
{/* Accessibility Bar */}
Government of India open_in_new
accessibility_new
{/* Full-width Stepper Bar */}
  • 1
    Eligibility
  • Personal
  • Documents
  • Submit
{/* Workspace Content Area */}
{/* Centered Success Card */}
{/* Success Badge */}
done
{/* Success Heading */}

Application sent!

We will review and contact you within 3 working days.

{/* Actions */}
); export default ApplicationSubmissionGovernmentFormExample12Demo; ``` Angular: ```html
  • 1
    Eligibility
  • Personal
  • Documents
  • Submit
done

Application sent!

We will review and contact you within 3 working days.

```