We help IT Professionals succeed at work.
Get Started

How to validate south korean personal  custom clearance code (PCCC) using javascript/jquery?

Bade011 asked
Last Modified: 2015-10-01
Hi Experts,
I tried every means to figure out the validation for south Korean "Personal Custom Clearance Code" (PCCC). I didn't find enough resources about it other than some blog and articles about requirement of pcc code as mandatory for importing. PCCC is the code that is used for clearing the custom if someone is buying stuffs/products internationally. It is like ssn in the USA having 13 digits in total starting with letter "P". For example: P123451234512. I am not sure if I could ask this kind of question here but if someone knows about it, that would be nice.  All I did till now is I validated a text box for PCCC by length=13 under html. Is there anyone who know how to validate the PCC code using javascript?

      <legend>Validate korean PCCC</legend>
      <div style= "padding-top:15px;">
            <label style= "padding: 20px; font-size: 16px; font-weight:600; color: #AA6903;">Personal Custom Clearance Code: </label>
            <input type="text" id="inputcpf" name="pccc" size="13" maxlength="13" autofocus>
            <input type="button" style= "margin-top:10px;" class="btnchec" name="Submit" value="Check">

Thank you
Watch Question
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE