Getting Started

This library is an Inquiry Form & Exam Scheduler built into one, allowing a patient to submit a simple message to your office, or schedule their first exam with very little hand-holding. This library is built with JavaScript, CSS, and HTML and is meant to be flexible enough to fit into most websites and platforms that host them.

This library is an Inquiry Form that allows a patient to submit a simple message to your office. This library is built with JavaScript, CSS, and HTML and is meant to be flexible enough to fit into most websites and platforms that host them.

Installing this form on your website requires a few steps:

  1. Your office must be using WaveOrtho Waimea (v11) or higher.
  2. You'll need to be subscribed to the service, which means you'll need to talk to a WaveOrtho customer representative to get your account set up.
  3. Once your account has been properly set up, we'll send you an email with the Doctor ID required to get the inquiry form working.
    • If you are using the maps integration, there are additional settings that we need to manage. We'll reach out with details and notify you when the maps settings are complete.
  4. Using the instructions below, you'll download the library, and install it on your website.

A few things before you attempt to install the Inquiry Form & Exam Scheduler:

Installing the Form on your Website

There are two ways to install the form on your website. The simplest way is to use our iframe. Alternatively, if you need to use any of our javascript methodsjavascript methods or replace our CSS library with your own custom CSS then you will need to follow the instructions here.

Installing the Form using the iframe

Simply include the following line (replacing "test" with your WaveOrtho Doctor ID) will generate a fully functioning form:

<iframe src="https://wave-wes.s3.us-west-1.amazonaws.com/v8/index.min.html?data-doctor-id=test" width="100%" height="1500px" frameborder="0"></iframe>

You may need to adjust the height of the iframe by modifying its height attribute, depending on the iframe settings. For example, the iframe will need to be taller if the map is being displayed.

Starter Template

The following is an example of a very simple page that would load the Inquiry Form & Exam Scheduler (after you replace the "data-doctor-id" value with the ID given to you).

<!doctype HTML>
<html lang="en">
<head>

    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Contact Us & Schedule Your Exam</title>
</head>
<body>

<iframe 
src="https://wave-wes.s3.us-west-1.amazonaws.com/v8/index.min.html?data-doctor-id=test" 
width="100%" 
height="1500px" 
frameborder="0"></iframe>

</body>
</html>
<!doctype HTML>
<html lang="en">
<head>

    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Contact Us</title>
</head>
<body>

<iframe 
src="https://wave-wes.s3.us-west-1.amazonaws.com/v8/index.min.html?data-doctor-id=test" 
width="100%" 
height="1500px" 
frameborder="0"></iframe>

</body>
</html>

Installing the Form using HTML, CSS, and Javascript files

First, you'll need to download the form from this link, unzip the contents, and move the files to the appropriate folders in your project. Another option for this library is to open the necessary files and copy and paste the contents into the appropriate HTML tags.

Linking to the JavaScript

Once you've downloaded and unzipped the library, you'll need to add one line into your HTML:

<script src="lib/wave-ortho-inquiry-form.min.js"></script>

You can also copy and paste the contents of the file above into a script tag.

<script>...</script>

For simplicities sake, we'll recommend that you put the script tag into the head tag of your HTML tag.

Including the Stylesheet

You have the option of including the default form styling. Including this CSS will help the form look similar to the one on the demo page. If you want to include the default CSS file into your project, then you'll want to include this line in the head as well:

<link rel="stylesheet" href="css/wave-ortho-inquiry-form.min.css">

When including links and references to files, you want to make sure that the src attribute for the script tag and the href attribute for the link tag are pointing to the correct file locations.

Again, you can also copy and paste the contents of the file above into a tag, but this time it will be a style tag:

<style>...</style>

Additional Necessary Style Declarations

Depending on the quantity, and quality of the styles and themes used on your website, you may need additional explicit style declarations to override undesired appearances inherited and overwritten by the other themes. Your styles will need to be more specific than the styles inherited from other themes and to do this, you should inspect the elements, viewing the classes and IDs of certain elements to help you change their styles.

We recommend that your custom styles, whether overriding other themes or just changing the look, should be placed above the default CSS that you inserted above.

Creating the Form

Simply including the following line (replacing "test" with your WaveOrtho Doctor ID) will generate a fully functioning form:

<div id="waveInquiryForm" data-doctor-id="test"></div>

Upon loading, the library will search for a tag with the id: "waveInquiryForm" and if it's found, the form will auto-generate. The form can also be manually generated using the data-wait attribute and JavaScript, check the documentation page documentation page for more information.

Starter Template

The following is an example of a very simple page that would load the Inquiry Form & Exam Scheduler (after you replace the "data-doctor-id" value with the ID given to you and point the CSS and JavaScript file paths to the right place).

<!doctype HTML>
<html lang="en">
<head>

    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <style>
        /*Custom CSS*/
    </style>

    <link rel="stylesheet" href="css/wave-ortho-inquiry-form.min.css"/>
    <script src="lib/wave-ortho-inquiry-form.min.js"></script>

    <title>Contact Us & Schedule Your Exam</title>
</head>
<body>

    <div id="waveInquiryForm" data-doctor-id="test"></div>

</body>
</html>

Additional Resources

The WaveOrtho Inquiry Form & Exam Scheduler is highly customizable, so we recommend you take a look at a few more of the following resources to get a full understanding of what you would like the form to look like on your site.

Sample Layouts

Sample Layouts

Check out our sample layouts page for ideas on how the form can be changed to behave differently for different situations, needs, and drive certain behaviors.

Documentation

Documentation

Our documentation page is a comprehensive list of customization options that are used to change the behavior of the form.

Troubleshooting

Troubleshooting

The troubleshooting page helps you diagnose issues with the form, whether it's with loading or styling.

Wordpress

Wordpress

If you are using a wordpress site, this page can help you get it up and running.

Squarespace

Squarespace

If you are using a squarespace site, here is a guide that will help you get it working.