Pre-Filling Acuity Scheduling forms

I hate it when forms are not filled in, when you know the person asking you to fill the form in has half your info already.

We do it a lot, and I just made our clients life a little easier, which ideally will help with our conversion rates long term too 🙂

Here is some JS that will easily be used on any acuityscheduling embeded calendar.


Add id=”acuityiframe” to the embed code (Acuity could make this part of the embed code eventually)


Add this code to your page, or a JS file and link to it from your site

function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(;
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
$(document).ready(function() {
url = $('#acuityiframe').attr('src');
url += '&first_name='+getParameterByName('firstname');
url += '&last_name='+getParameterByName('lastname');
url += '&email='+getParameterByName('email');
url += '&phone='+getParameterByName('mobile');

And away you go, you have pre-filling forms when your CRM sends the info in that format – which is easy to do.


This link

Will deliver the Infusionsoft Contact values for those fields to the embeded iframe for Acuity pages.


Please spread widely and freely to stop us all from having to fill in forms every again 🙂

Share with:


Leave a Reply

Your email address will not be published. Required fields are marked *