The online registration source code allows you to embed the registration portal directly on your site. This also allows you to link the ChangeLink for Online Self Service directly to your site when using the ChangeLink() function.
To start you will need to embed the online registration source code on your site, the same code will enable both standard registration and online self service.
<div id="divRRRegStart" class="RRRegStart"></div>
<script type="text/javascript" src="https://my.raceresult.com/RRRegStart/load.js.php?lang=en"></script>
<script type="text/javascript">
<!--
var rrp=new RRRegStart(document.getElementById("divRRRegStart"), 230672);
rrp.ShowInfoText=false;
-->
</script>
<style>
/* Add custom CSS here or elsewhere to change the design */
</style>
There are 2 variables here as highlighted in red.
- EventID - the ID of the event to be embedded.
- rrp.ShowInfoText - Either true or false to define whether the info text of the registration page should also be included.