10x - Public Applications - Registration

Public facing endpoints and integration instructions for the Registration app and tools.

Index

Playground

Registration Playground

Endpoints


    UAT
    https://publicapps-uat.10x.co.za/dists/registration/registration.js

    Production
    https://publicapps-prod.10x.co.za/dists/registration/registration.js

How to use

Add a container div, the stylesheet, and the script to your page.

Initialize the tool by calling the initRegistration function on the window object.


<!DOCTYPE html>
    <html>
        <head>
            ...
            <link rel='stylesheet' href='https://publicapps-uat.10x.co.za//dists/registration/css/styles.css'>
            <link rel='stylesheet' href='https://publicapps-uat.10x.co.za//dists/registration/css/main.css'>
        </head>
        ...
        <body>
            ...
            <div id='registrationEmbed'></div>
            ...
            <script src='https://publicapps-uat.10x.co.za/dists/registration/registration.js' type='text/javascript'></script>
            <script type='text/javascript'>
                var initialValues = { /* object containing initial values, see example below */ };
                function exitFunction (results) { /* function that executes when the user continues */ };
      
                window.initRegistration(initialValues, exitFunction);
            </script>
        </body>
    </html>
    

Initialization values

The initialize function requires an object with the following properties

{}

Exit values

The exit function will be called with an object with the following properties

{}

Example of R Playground --