# Feedback & Communication / Form Mobile Verification Mobile number verification form with input validation feedback **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-form-mobile-verification--introduction ## Pattern variants - Form Mobile Verification: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-feedback-communication-form-mobile-verification--form-mobile-verification ## When to use this pattern Use Feedback & Communication / Form Mobile Verification 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 Feedback & Communication / Form Mobile Verification. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Form Mobile Verification — Mobile Number - Error State HTML: ```html

Enter your Mobile Number

Provide your mobile number for OTP verification and updates.

error Enter a valid 10-digit number
``` React: ```jsx import React from 'react'; const FeedbackCommunicationFormMobileVerificationExample1Demo = () => ( <>
arrow_back Back

Enter your Mobile Number

Provide your mobile number for OTP verification and updates.

error Enter a valid 10-digit number
); export default FeedbackCommunicationFormMobileVerificationExample1Demo; ``` Angular: ```html

Enter your Mobile Number

Provide your mobile number for OTP verification and updates.

error Enter a valid 10-digit number
``` ### 2. Introduction — Introduction HTML: ```html
Patterns

Form Mobile Verification

Mobile number verification form with input validation feedback

phone_android

Mobile Number Verification

Error state validation for mobile number entry with 10-digit format requirement and inline error messaging.

``` React: ```jsx import React from 'react'; const FeedbackCommunicationFormMobileVerificationExample2Demo = () => ( <>
Patterns

Form Mobile Verification

Mobile number verification form with input validation feedback

phone_android

Mobile Number Verification

Error state validation for mobile number entry with 10-digit format requirement and inline error messaging.

); export default FeedbackCommunicationFormMobileVerificationExample2Demo; ``` Angular: ```html
Patterns

Form Mobile Verification

Mobile number verification form with input validation feedback

phone_android

Mobile Number Verification

Error state validation for mobile number entry with 10-digit format requirement and inline error messaging.

```