31
Views
4
Comments
Aadhaar number format
Question

Hi,

Any suggestions when entering an Aadhaar number? The "/" symbol should appear after four digits automatically.

Below is an example screen grab. 

Regards

Praveen

2024-06-24 04-49-49
Princi

Hello @Praveen Tumati 

Can you please explain little bit more about your query? Do you want this "/" symbol between your Aadhar number or not?

If you want space after 4 digits you can refer below code.
Substr(TextVar,0,4) + " " + Substr(TextVar,5,9) + " " + so on...

Regards

Prince

UserImage.jpg
Sudarshan HD

Hi @Praveen Tumati 

Please refer this attached OML I did  it through java script .

Hope this will be helpful.


Regards

Sudarshan HD

Adhar.oml
2019-01-07 16-04-16
Siya
 
MVP

What you are looking for is masking. Here is an implementation using https://imask.js.org/


AadharMask.oml
2021-11-14 02-45-20
Shashi Mishra

Hi @Praveen Tumati,

You can try your Aadhar . Just enter Aadhar number.

Here i used forge component (Input Mask React).

Below is OML for support. 


Thanks.

Mask.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.