+ 5

how I can check NRC code html

12th Nov 2018, 3:55 AM
ArkarHtun
ArkarHtun - avatar
8 Réponses
+ 5
Hey sis, this is one of the hardest things to check here in Myanmar currently, not because the algorithm is hard, but because of the lack of data from the government. The best is to use regex in JavaScript, however validation will not yet be possible unless you have high profile access to the government database, which unfortunately doesn't exist in a digital format yet. Even contacting the ministry of information has not been successful, as they say it will take the ministry of immigration and population roughly 3.2 years to enter all the data from across the country, and that's only if they get the extra 10 billion kyat allocation to "hire" university students to input the data. Now, even when all the NRC records are digitized, it does not mean that the general public will have access to it. That will have to be determined by legislature.
20th Feb 2019, 4:00 AM
Tony
Tony - avatar
+ 11
Thank bro It will help me completely
20th Feb 2019, 5:52 AM
ArkarHtun
ArkarHtun - avatar
+ 6
checking correct NRC number for state and disrct
12th Nov 2018, 5:00 AM
ArkarHtun
ArkarHtun - avatar
+ 3
Please be specific. What's NRC?
12th Nov 2018, 4:33 AM
Шащи Ранжан
Шащи Ранжан - avatar
+ 3
However, you can validate some aspects of the actual NRC number, for example: 1/MKN (N) 150012: in this format you can validate 1, as that equals to Kachin State. You can also validate MKN to "Myitkyina" (i.e., the township or city). You can validate (N) which comes to "Naing" (citizen). You can also validate if the actual ID number equals to 6 digits. You can not however validate if the number is actually linked to a certain individual though, because of the reasons I gave above in my first comment. However, there is still a slight problem. Many Townships share the same 3 letter abbreviations, which means you could get a false ID to possibly validate. So in that case it is also possible to use the 6-8 letter abbreviation system adopted by the Ministry of Transportation: 14/Pha Pa Na (Naing) 000103. This would be the most accurate form for English validation, and works great if your dataset is in English.
20th Feb 2019, 4:10 AM
Tony
Tony - avatar
+ 3
Problem #2 comes in when we switch to Burmese script validation: ၁၂/ရပသ (နိုင်) ၀၉၀၈၉၁: this works fine if you want to validate the number only in Burmese. However, if you want to validate the Burmese number, and have it output it's English equivalent, you will now have possibility for error, as not all Townships spell their English names according to the phonetic equivalents from Burmese. For example အခမ could validate to OKM, or AKM, Ouk ka ma, or Ah Ka Ma, thus producing a critical error. To fix this, you would again need access to the datasets provided by the Ministries of population and information, and then spend countless hours manually comparing and correcting the Burmese/English equivalents. So in summary, you can validate form, but you can not yet validate the actual data completely. Hope that helps sis. 😊🙏
20th Feb 2019, 4:23 AM
Tony
Tony - avatar
+ 3
Sandar my pleasure sis! 😊
20th Feb 2019, 6:33 AM
Tony
Tony - avatar
+ 1
I guess its some kind of code, combination of number and stuff ? And you want to check if the input are valid NRC You can use regex to check if the input pattern same as NRC, use pattern attribute in input tag or use .match() in js
12th Nov 2018, 4:38 AM
Taste
Taste - avatar