The JS code verify a South African ID number - this is working 100%
If it was entered correctly, it will add the date of birth and the gender, derived from the id number - this works all good.If the number is correct, it will turn green or red if invalid. I was able to add an JS line "Alert()" - but this is not nice, I just want to add a message at the bottom of the id number field, or just below the id number field, to say "Number Valid" or "Number Invalid" - I am sure this should be simple, but I have never done this before - so ... please assist with this one. Kind RegardsWalter Partial code when the number was validated:
There is also another solution to this, which may be a bit easier. This section explain to add custom JS validation, where you add a custom js file to the system and call it from the field properties of a field value to be tested. https://xlinesoft.com/phprunner/docs/validation_types.htm