mik2016
06-18-2020, 11:04 AM
1. PA is hard coded
2. open field for customer to manually enter the sterilization no
3. The last 2 digit are with ( ) with spacing from number before
4. If the customer enter PA-1234 (56) then Output is PA-1234 (56)
5. if the customer enter PA-1234(56) the Output is PA-1234 (56)
6. if the customer enter PA-123456 the Output is PA-1234 (56)
7. if the customer enter 123456 the Output is PA-1234 (56)
8. if the customer enter 1234 56 the Output is PA-1234 (56)
9. if the customer enter 1234(56) the Output is PA-1234 (56)
https://www.webdeveloper.com/d/390330-need-help-for-javascript-code-for-below-requirement
2. open field for customer to manually enter the sterilization no
3. The last 2 digit are with ( ) with spacing from number before
4. If the customer enter PA-1234 (56) then Output is PA-1234 (56)
5. if the customer enter PA-1234(56) the Output is PA-1234 (56)
6. if the customer enter PA-123456 the Output is PA-1234 (56)
7. if the customer enter 123456 the Output is PA-1234 (56)
8. if the customer enter 1234 56 the Output is PA-1234 (56)
9. if the customer enter 1234(56) the Output is PA-1234 (56)
https://www.webdeveloper.com/d/390330-need-help-for-javascript-code-for-below-requirement