• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Check dutch postal code

Check dutch postal code 11 years 10 months ago #23913

  • rbosboom
  • rbosboom's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
hello RSjoomla fans,

Because I find a lot of help on this forum, I post my solution for checking dutch postal codes in RSForms.

I don't have a lot of brains when it comes to javascript so I was searching for a way to check Dutch postal code in a form. Fortunate I came in contact with a dutch provider (dnm-adress) for online checks. They gave me this script:
 
<script type="text/javascript" src="http://www.veridat.nl/scriptproxyv1/scripts/verdidatAPI.js">
</script>
 
<script type="text/javascript">
    new VERIDATObject(
        {
            ID               :'[ID}',
            APIKey           :'[13-digit code]',
            HTMLInputFields  :
            {
                postalcodeID : '[fieldname postcode]',
                housenrID    : '[fieldname number]',
                streetID     : '[fieldname street]',
                cityID       : '[fieldname town]'
            }
        }
    );
</script>
 

The way it works is reasonably simple. Just request for a 13 digit ID, put the script into the CSS and Javascript section in a form, change the fieldnames accordingly your fieldnames and voila. It works.

Again, I post this solution for other RSForms fans and hope to contribute in the easy use of RSForms.

Regards,
Rob

p.s.
and sorry for my spelling ;)
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!