18 Years of Adventure

Over 75 Mass Participation Adventure Events in All Corners of the Globe

WHAT KEEPS US BUSY

The Adventure Racing (AR) World Series unites in competition the worlds best endurance athletes at premiere Qualifier events around the globe. The top two teams at each of these races gain a coveted position on the start line of the annual pinnacle of the sport, the AR World Championship.
XPD is Australia’s own Expedition Adventure Race. Teams of four competitors from around the globe trek, mountain bike, and kayak for three to six days in this world renowned expedition. These adventurers race day and night over a 450-500km course pushing themselves to the ultimate limits of human endurance.
Trackers are a great for events that have previously been hard to watch, due to participants moving over large distances in inaccessible areas. Trackers send their latest position to a google map that anyone can view on their phone, tablet or computer.

A mountain biking trilogy of 3 days riding through the Tasmanian wilderness. Each day is a point to point stage with leaders expected to take 3-3.5 hours and the remainder or the field having up to approximately 8 hours to finish the route.

Do You Have An Idea for An ADVENTURE Event?

We have an Intimate Knowledge of Australian Wilderness and Connections around the Globe.

Get in Touch, We Love New Ideas

EVENTS WE HAVE CREATED - PAST AND PRESENT

  • 2018 - XPD - Tasmania
  • 2017 - Mountain Designs GeoQuest - Sawtell
  • 2016 - Mountain Designs GeoQuest - Port Macquarie
  • 2016 - XPD - Shoalhaven (World Championship)
  • 2015 - Mountain Designs GeoQuest - Hawkes Nest
  • 2015 - XPD - Townsville
  • 2014 - Mountain Designs GeoQuest - Crescent Head
  • 2013 - Mountain Designs GeoQuest - Harrington
  • 2013 - XPD - Flinders Ranges
  • 2012 - Mountain Designs GeoQuest - Forster
  • 2011 - Hells Bells - South East Queensland
  • 2011 - Mountain Designs GeoQuest - Nambucca Heads
  • 2011 - XPD - Tasmania (World Champs)
  • 2011 - City Raid - Brisbane
  • 2010 - Bribie Island Multisport - South East Queensland
  • 2010 - Hells Bells - South East Queensland
  • 2010 - Mountain Designs GeoQuest - Port Macquarie
  • 2010 - XPD - Cairns
  • 2010 - City Raid - Brisbane
  • 2010 - Bribie Island Multisport - South East Queensland
  • 2009 - Hells Bells - South East Queensland
  • 2009 - Mountain Designs GeoQuest - Forster
  • 2009 - City Raid - Brisbane
  • 2008 - 8 Hr Enduro - South East Queensland
  • 2008 - Adventure Race Queensland Series (ARQ) x One Night in Vegas - City Raid
  • 2008 - Bribie Island Multisport - South East Queensland
  • 2008 - Hells Bells - South East Queensland
  • 2008 - Insomnia Mountain Bike - South East Queensland
  • 2008 - Mountain Designs GeoQuest - Emerald Beach
  • 2008 - One Night in Vegas / City Raid - Adventure Race Queensland Series (ARQ)
  • 2008 - Rush Hour - Adventure Race Queensland Series (ARQ)
  • 2008 - Summer Storm - Adventure Race Queensland Series (ARQ)
  • 2008 - The Step Up - Adventure Race Queensland Series (ARQ)
  • 2008 - XPD - Australian Alps
  • 2007 - 8 Hr Enduro - South East Queensland
  • 2007 - Adventure Race Queensland Series (ARQ) x One Night in Vegas - City Raid
  • 2007 - Bribie Island Multisport - South East Queensland
  • 2007 - Hells Bells - South East Queensland
  • 2007 - Insomnia Mountain Bike - South East Queensland
  • 2007 - Mountain Designs GeoQuest - Sawtell
  • 2007 - One Night in Vegas / City Raid - Adventure Race Queensland Series (ARQ)
  • 2007 - Rush Hour - Adventure Race Queensland Series (ARQ)
  • 2007 - Summer Storm - Adventure Race Queensland Series (ARQ)
  • 2007 - The Step Up - Adventure Race Queensland Series (ARQ)
  • 2007 - XPD - Whitsundays
  • 2006 - Adventure Race Queensland Series (ARQ) x One Night in Vegas - City Raid
  • 2006 - Hells Bells - South East Queensland
  • 2006 - Insomnia Mountain Bike - South East Queensland
  • 2006 - Mountain Designs GeoQuest - Stuarts Point
  • 2006 - One Night in Vegas / City Raid - Adventure Race Queensland Series (ARQ)
  • 2006 - Rush Hour - Adventure Race Queensland Series (ARQ)
  • 2006 - Summer Storm - Adventure Race Queensland Series (ARQ)
  • 2006 - The Step Up - Adventure Race Queensland Series (ARQ)
  • 2006 - XPD - Tasmania
  • 2005 - Hells Bells - South East Queensland
  • 2005 - Mountain Designs GeoQuest - Bonny Hills
  • 2005 - Teva Adventure Series - Melbourne
  • 2005 - Teva Adventure Series - Sydney
  • 2005 - Teva Adventure Series - Brisbane
  • 2004 - Hells Bells - South East Queensland
  • 2004 - Mountain Designs GeoQuest - Eden
  • 2004 - XPD - Broken Hill
  • 2004 - Teva Adventure Series - Melbourne
  • 2004 - Teva Adventure Series - Sydney
  • 2004 - Teva Adventure Series - Canberra
  • 2004 - Teva Adventure Series - Brisbane
  • 2003 - Mountain Designs GeoQuest - Bendalong
  • 2003 - Teva Adventure Series - Melbourne
  • 2003 - Teva Adventure Series - Sydney
  • 2003 - Teva Adventure Series - Canberra
  • 2003 - Teva Adventure Series - Brisbane
  • 2002 - Teva Adventure Series - Sydney
  • 2002 - Teva Adventure Series - Melbourne
  • 2002 - Mountain Designs GeoQuest - Batemans Bay

LATEST UPDATES

The last standing event in the AR World Series, Expedition Canada (a demonstration race), has announced its postponement.

Now is the time to reset and start our planning for the most exciting season to date, 2021.Expedition Canada is officially postponed to June 2021. As much as we would have loved to welcome you all in BC this coming June, the current situation doesn’t leave us any other choice. We hope to see you in 2021 on a course that will be even better and more epic than the original course. Stay healthy and positive, there will be plenty of time for incredible adventures soon. #expeditioncanada #covid19 #postponed #adventurerace #ARWS
... See MoreSee Less

The last standing event in the AR World Series, Expedition Canada (a demonstration race), has announced its postponement. 

Now is the time to reset and start our planning for the most exciting season to date, 2021.

XPD, Australia has announced the postponement of their race set for July 2020.

The event will now take place in 2021.

"I am sad to say that it is now official, we will not be able to host the 11th edition of XPD planned in North Queensland this July. The situation in a few month's time has too many uncertainties. Many areas out on course have been closed to outsiders to protect the at-risk indigenous inhabitants of that area from the virus. Currently, competitors' flights to the race may be doubtful and I can't be certain our race HQ hotel or some National Park transition areas will be open, or even if Queensland will open its borders by then."XPD 2020 Cancellation News Update The following news update has just been emailed to the competitors and volunteers registered for XPD this July: "It’s a peculiar time we're living in, writing this email from a lockdown - and not the fun type where we have just been given the maps to a great adventure in the wild! Most of you are likely in the same situation and wondering what the future might hold - and in particular what it means for XPD in July. In organising adventure races there are always interesting challenges thrown up, but in the 18 years we have been running events, the COVID-19 pandemic is the first time we have been hit with something so comprehensively crushing, widespread and completely out of our control - that we can’t find a work around to. I am sad to say that it is now official, we will not be able to host the 11th edition of XPD planned in North Queensland this July. The situation in a few month's time has too many uncertainties. Many areas out on course have been closed to outsiders to protect the at-risk indigenous inhabitants of that area from the virus. Currently competitors' flights to the race may be doubtful and I can't be certain our race HQ hotel or some National Park transition areas will be open, or even if Queensland will open its borders by then. Our intention is to cancel everything for 2020 and move the event to 17th-24th of July 2021. I know this is not an ideal situation for anyone involved, and I wish we were still able to run the event this year. Unfortunately, this is the only realistic option going forward. It is a tough time for everyone, and our thoughts and best wishes are particularly with some of the competitors in XPD who have lost their jobs or businesses due to COVID-19 restrictions. As an adventure racing community, I hope we can all support each other through these difficult times. Looking forward to 2021 now, all the best,"
... See MoreSee Less

XPD, Australia has announced the postponement of their race set for July 2020. 

The event will now take place in 2021. 

I am sad to say that it is now official, we will not be able to host the 11th edition of XPD planned in North Queensland this July. The situation in a few months time has too many uncertainties. Many areas out on course have been closed to outsiders to protect the at-risk indigenous inhabitants of that area from the virus. Currently, competitors flights to the race may be doubtful and I cant be certain our race HQ hotel or some National Park transition areas will be open, or even if Queensland will open its borders by then.

Bend RacingIf you have not heard already through FB and emails, we at BendRacing have had to make the very hard yet necessary following decision: Americas Toughest Race - Expedition Oregon has been postponed until 2021. ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ Right now we have to act as a team in a way that feels very foreign and scary to many of us. But we are hopeful and optimistic that if we all do our part and stay close to home: we will make it to the finish line together, healthy and sooner rather than later. So shine your light as bright as possible, focus on the positive, and we will find our route through the darkness. ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ We hope to see ALL of you- racers, supporters, sponsors and volunteers in 2021 for the best race yet. ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ We love you- stay safe, stay sane. ⠀⠀⠀⠀⠀⠀⠀⠀⠀ Love, BendRacing⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ Thankyou @dirtylitterunnergirl for the capture⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ #XPD2020 #XPDOR #bendracing #americastoughestrace ... See MoreSee Less

While the year has started unexpectedly, we have faith that the Adventure Racing World Championships towards the end of the year will go as planned.

All races thus far including the postponement of Adventure Race Malaysia, Expedition Oregon, Adventure Race Croatia, and Nordic Island Adventure Race have communicated their race statuses. Please make sure you are active on social media to see updates and show your support.

We hold high hopes for a successful and positive season end and a firey season in 2021.

#adventureracing #arworldseries #toughestrace
... See MoreSee Less

While the year has started unexpectedly, we have faith that the Adventure Racing World Championships towards the end of the year will go as planned.

All races thus far including the postponement of Adventure Race Malaysia, Expedition Oregon, Adventure Race Croatia, and Nordic Island Adventure Race have communicated their race statuses.  Please make sure you are active on social media to see updates and show your support. 

We hold high hopes for a successful and positive season end and a firey season in 2021.  

#adventureracing #ARWorldSeries #toughestrace
Load more

XPD 2020 Cancellation News Update

The following news update has just been emailed to the competitors and volunteers registered for XPD this July:

"It’s a peculiar time we're living in, writing this email from a lockdown - and not the fun type where we have just been given the maps to a great adventure in the wild! Most of you are likely in the same situation and wondering what the future might hold - and in particular what it means for XPD in July.

In organising adventure races there are always interesting challenges thrown up, but in the 18 years we have been running events, the COVID-19 pandemic is the first time we have been hit with something so comprehensively crushing, widespread and completely out of our control - that we can’t find a work around to.

I am sad to say that it is now official, we will not be able to host the 11th edition of XPD planned in North Queensland this July. The situation in a few month's time has too many uncertainties. Many areas out on course have been closed to outsiders to protect the at-risk indigenous inhabitants of that area from the virus. Currently competitors' flights to the race may be doubtful and I can't be certain our race HQ hotel or some National Park transition areas will be open, or even if Queensland will open its borders by then.

Our intention is to cancel everything for 2020 and move the event to 17th-24th of July 2021. I know this is not an ideal situation for anyone involved, and I wish we were still able to run the event this year. Unfortunately, this is the only realistic option going forward.

It is a tough time for everyone, and our thoughts and best wishes are particularly with some of the competitors in XPD who have lost their jobs or businesses due to COVID-19 restrictions. As an adventure racing community, I hope we can all support each other through these difficult times.

Looking forward to 2021 now, all the best,"
... See MoreSee Less

XPD 2020 Cancellation News Update

The following news update has just been emailed to the competitors and volunteers registered for XPD this July:

It’s a peculiar time were living in, writing this email from a lockdown - and not the fun type where we have just been given the maps to a great adventure in the wild! Most of you are likely in the same situation and wondering what the future might hold - and in particular what it means for XPD in July.

In organising adventure races there are always interesting challenges thrown up, but in the 18 years we have been running events, the COVID-19 pandemic is the first time we have been hit with something so comprehensively crushing, widespread and completely out of our control - that we can’t find a work around to.  

I am sad to say that it is now official, we will not be able to host the 11th edition of XPD planned in North Queensland this July. The situation in a few months time has too many uncertainties. Many areas out on course have been closed to outsiders to protect the at-risk indigenous inhabitants of that area from the virus. Currently competitors flights to the race may be doubtful and I cant be certain our race HQ hotel or some National Park transition areas will be open, or even if Queensland will open its borders by then.

Our intention is to cancel everything for 2020 and move the event to 17th-24th of July 2021.  I know this is not an ideal situation for anyone involved, and I wish we were still able to run the event this year.  Unfortunately, this is the only realistic option going forward.  

It is a tough time for everyone, and our thoughts and best wishes are particularly with some of the competitors in XPD who have lost their jobs or businesses due to COVID-19 restrictions.  As an adventure racing community, I hope we can all support each other through these difficult times.    

Looking forward to 2021 now, all the best,

 

Comment on Facebook

Sad times, but next years XPD will be super special for everyone. Hope you and the familily are well Craig and Louise. Would love to be a fly on the wall in your isolation household!!

More time to train and get old. Perfect! See you in 2021

Good decision. An extra year for everyone to train. Hope you guys are doing ok in these crazy times

Alll the best that side team! All our love and support from Africa🤗❤

Michael Phillips Adrian Beard Steve Phillips we made the right call !!

Keep on keeping on.. 👍

I’m running out of excuses not to sign up now...just need a team!

So sorry to read this. Book me in to volunteer next year though.

This was not a surprise given current situation! #mountaindesignswildwomen are excited about 2021. At leat we have something to focus on for the future! Makes sense to me! Thanks #geocentricoutdoors

Kathryn 😞 We could try and do it in 2021.

+ View more comments

3 weeks ago

Geocentric Outdoors

Dragon Trail Update - Race Director Louise Foulkes talks through the cancellation and next years event.

Note: while editing this video - borders to Tasmania are now closed.

Links to Articles

www.slowtwitch.com/Opinion/Why_Can_t_I_Just_Get_a_Refund_And_Other_Emails_to_RDs_in_the_COVID-19_...

runningmagazine.ca/the-scene/an-open-letter-to-the-running-community-from-a-canadian-race-directo...

www.google.com/search?q=pinoccios+branxholm&oq=pinoccios+branxholm&aqs=chrome..69i57j0l2.4422j0j9...
... See MoreSee Less

 

Comment on Facebook

Well said Louise. Running a new event takes courage & getting it canned by something so out of your control is so shitty. Riders can help by considering not asking for a refund of their entry fee or only a partial one.

Well said Louise! We all have to do our bit. Such a shame after all the work you guys have been doing but in the end we thank you for being responsible global citizens! All the best for 2021! XX

Louise Foulkes thank you for this great video, explanation and shout out. Your call to cancel the event was absolutely spot on and timely. I'll be there to support Dragon Trail in 2021 and will spend more time in Tasmania as well - might even get to ride some of those superb trails.

Well spoken Louise, next year will come around soon enough and I can’t wait until then. Everyone is going to love the trails and the whole experience I am sure. Thanks for you and your teams hard work. Bring on 2021

My family were coming down so I could race then have a family holiday. We were all devastated when you had to cancel the event, but we totally understand. We will be moving hell and high water to make sure we can make it next year.

Looking forward to 2021 Louise, see you then.

Now we have time to get ready and also ride it next year!! All the best from Africa 🤗

Seeing that you won‘t reply here or to emails about the refund policy, should we just pursue refunds through credit card chargeback through our banks? I mean you can‘t just ignore the issue? It‘s not uncommon for events to be cancelled at the last moment. Most people will be happy to roll over their entry to next year. Some can’t . What is the refund policy for them? You can clearly afford to pay refunds to the few people who need them. You said that you had around 300 entries at what must be an average of 600-700 dollars per person, not including the extra camping fees etc. PLEASE just make the refund policy clear and state how people can claim it!

Louise this incredible event will grow from strength to strength and we are so honoured to have been part of it up to now .... 2021 will be even more amazing and now we all have something to look forward to agai.

Fantastic Lou - we know that you put on quality events and we'll certainly be there next year 🙂🙂

Great update Louise. All the hard work so far has invested in a super amazing event next year - can’t wait until then 🤗

There will be a lot of people, I'm sure, hurting financially right now. Many have lost jobs. I appreciate that you too must be feeling financial pressure. But could you please articulate clearly what the refund policy is? The conditions of entry state: 'If the race is cancelled due to acts of God, natural disasters, terrorism or other reasons, etc, the organisers will make every effort to refund as much of the entry fee as possible to all teams. The race will not be re-scheduled.' So, given, I assume, that your decision to cancel falls under 'natural disasters' or 'other reasons', and the race will not be re-scheduled, what is the refund policy? What does 'as much of the entry fee as possible' mean? And how does one go about receiving a refund? Again, I do understand your position. But this is a tough time for everyone and you really do need to be explicit about what your policy is. Some people will be unable to attend next year's race, or won't want to attend. People must be able to seek refunds, whatever that might be, if they wish.

Can’t wait for next year Christa Evans Katie Summer Charlene Nolte Sharon Heap

+ View more comments

3 weeks ago

Geocentric Outdoors

Thanks for the support around cancelling Dragon Trail - it’s a tough time here (and everywhere). Full communication coming out soon. After months of stressing, our hot pink container from China made it after all. At least we know it is ready here for next year. ... See MoreSee Less

Thanks for the support around cancelling Dragon Trail - it’s a tough time here (and everywhere). Full communication coming out soon. After months of stressing, our hot pink container from China made it after all. At least we know it is ready here for next year.

 

Comment on Facebook

I hope there was nothing breakable in there 😳🥴 Looks like it’s had a rough time too!!!! 🤪

Bugger, so good to catch up last weekend. Thanks for doing what you do guys.

Better get some vents/whirly birds for the container

I’ll ride next year

Oh lou. 🍷

At least the colour is bright. Tough times.

Stay positive. We’re looking forward to next year! It’s great to have that to look forward to.

Crazy times for all guys. Love the pink container 😁

Tough gig Louise Foulkes , Craig Bycroft and everyone at Geocentric Outdoors. I know how much effort and passion you put into designing and running your races and having this one pulled from under your feet must hurt! Best of luck with everything!

It would be good for your team to start communicating with those that have entered the events. I know a few people that have emails and Facebook posts that have gone unanswered. People are supportive of your position. The lack of direct contact is concerning. Please communicate with them and answer their emails.

Nice container !!! You’ll be ultra organised for next year x

Sad news, so many events being cancelled. Next year back with a bang I hope. (Y)

+ View more comments

3 weeks ago

Geocentric Outdoors

Dragon Trail 2020 Event Cancellation

I’m profoundly disappointed to be making this announcement to you.

The current global circumstances are unprecedented and we simply and sadly can’t see a way to be both socially responsible and host the Dragon Trail event next week. As such we will be canceling the Dragon Trail 2020 event.

Like myself, I'm sure you are witnessing the COVID-19 Virus pandemic unfolding on the world stage. Events are one of the industries at the forefront of the community impacts brought about by the virus and efforts to reduce the speed of it spreading. No doubt you are also seeing the steady stream of event cancellations or postponements (over 10,000 events in Australia as of today's news).

The entire organising team, local community, race partners, sponsors and volunteers are still committed to the vision of delivering to you the best mountain bike event in the world. We will now focus all our efforts on planning and delivering Dragon Trail 2021 in March next year from 17-21 March.

All Dragon Trail 2020 entries and extras are automatically valid for the 2021 event. If this date isn’t suitable for you, we are more than happy to credit your entry and extras to the Dragon Trail event in 2022.

Please allow us your patience over the next few weeks while we make all these arrangements.
... See MoreSee Less

 

Comment on Facebook

Bugger ! Bring on 2021. Best of luck Louise.

I’m devastated for you and the team Louise Foulkes. I am as keen as mustard to make 2021 an absolute cracker. The Pedal Heads Inc MTB club are right behind you. Here’s to a successful event in 2021.

Bugger.

Richard Pohl

Terrible, crazy times with many challenges... Sad for you but well done and bring on 2021 🤘

Oh lou. A tough decision. Sign me up to help with 2021.

Sorry to here , was training hard and pumped for this event but I new it was only a matter if time before this was canceled ...

Right decision, thank you, looking forward to 2021!

Oh wow!!!

Our thoughts are with you as event organisers & the local communities who will be impacted financially by the cancellation. We will be there regardless to spend some $$ locally & will keep the training going for 2021.

I am so sorry you have been forced to make this decision. It’s obvious you had put your heart and soul into organising this years event. We are more than happy for you to hold our entries over till next year. My husband and I are really looking forward to it and knowing that it is postponed not cancelled makes it easier to accept what is unfolding. Except that... now we definitely won’t have any excuse to say we didn’t have time to train!

Rodney Winkleman

oh no! So sorry to hear.

Andrew Cathcart

Ben Gooley

Sorry for the huge amount of effort already expended...but right call.

Ahh bummer sorry guys!

Katrina Mahar

Tobias 'Tabs' Strandberg

so so sorry to hear this :-(

Such a tough call after all the effort and planning that has gone into what would have been an amazing event. We look forward to hopefully being part of the rescheduled event in 2021 👍

So sorry to hear that team, I know the work you’ve put into this. ☹️

So sorry guys I know how stoked you were to showcase the area, and how hard you worked to organise it. But the right decision was made. Bring on the 2021 edition.

Heartbreaking 😞

An incredibly tough decision, but the right one. I’m so very sorry as know how much personal passion and planning has gone into this event. Will be there with bells on for 2021. Much love to Louise and Craig, the events team and towns along the trail.

+ View more comments

Load more

2 months ago

Track Me Live

And they are off! Use the link below to follow the new Archie Ultrs.

live.trackmelive.com.au/thearchie2020/
... See MoreSee Less

3 months ago

Track Me Live

Excited to be tracking the iconic George Bass Surf Boat Marathon - the Worlds longest surf rowing marathon, over 7 days and covering 190 kms of the best coastline in Australia. It kicks off tomorrow and you can watch it here - live.trackmelive.com.au/gbsurfboat2020 ... See MoreSee Less

Excited to be tracking the iconic George Bass Surf Boat Marathon - the Worlds longest surf rowing marathon, over 7 days and covering 190 kms of the best coastline in Australia. It kicks off tomorrow and you can watch it here - http://live.trackmelive.com.au/gbsurfboat2020

4 months ago

Track Me Live

Good luck to all the competitors at the King of the Cut 2019! We are pleased to be tracking these guys as the speed up the Western Australian coast. You can watch them now at live.trackmelive.com.au/KotC2019Stand Up Surf Shop KotC registration looking good. Thank you to our awesome volunteers getting up early to set up in Mandurah. Reg opens at 10am. Breeze looking good! ... See MoreSee Less

Good luck to all the competitors at the King of the Cut 2019! We are pleased to be tracking these guys as the speed up the Western Australian coast. You can watch them now at http://live.trackmelive.com.au/KotC2019
Load more

SIGN UP FOR EMAIL NEWS

(function(global) { function serialize(form){if(!form||form.nodeName!=="FORM"){return }var i,j,q=[];for(i=form.elements.length-1;i>=0;i=i-1){if(form.elements[i].name===""){continue}switch(form.elements[i].nodeName){case"INPUT":switch(form.elements[i].type){case"text":case"hidden":case"password":case"button":case"reset":case"submit":q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].value));break;case"checkbox":case"radio":if(form.elements[i].checked){q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].value))}break;case"file":break}break;case"TEXTAREA":q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].value));break;case"SELECT":switch(form.elements[i].type){case"select-one":q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].value));break;case"select-multiple":for(j=form.elements[i].options.length-1;j>=0;j=j-1){if(form.elements[i].options[j].selected){q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].options[j].value))}}break}break;case"BUTTON":switch(form.elements[i].type){case"reset":case"submit":case"button":q.push(form.elements[i].name+"="+encodeURIComponent(form.elements[i].value));break}break}}return q.join("&")}; function extend(destination, source) { for (var prop in source) { destination[prop] = source[prop]; } } if (!Mimi) var Mimi = {}; if (!Mimi.Signups) Mimi.Signups = {}; Mimi.Signups.EmbedValidation = function() { this.initialize(); var _this = this; if (document.addEventListener) { this.form.addEventListener('submit', function(e){ _this.onFormSubmit(e); }); } else { this.form.attachEvent('onsubmit', function(e){ _this.onFormSubmit(e); }); } }; extend(Mimi.Signups.EmbedValidation.prototype, { initialize: function() { this.form = document.getElementById('ema_signup_form'); this.submit = document.getElementById('webform_submit_button'); this.callbackName = 'jsonp_callback_' + Math.round(100000 * Math.random()); this.validEmail = /.+@.+\..+/ }, onFormSubmit: function(e) { e.preventDefault(); this.validate(); if (this.isValid) { this.submitForm(); } else { this.revalidateOnChange(); } }, validate: function() { this.isValid = true; this.emailValidation(); this.fieldAndListValidation(); this.updateFormAfterValidation(); }, emailValidation: function() { var email = document.getElementById('signup_email'); if (this.validEmail.test(email.value)) { this.removeTextFieldError(email); } else { this.textFieldError(email); this.isValid = false; } }, fieldAndListValidation: function() { var fields = this.form.querySelectorAll('.mimi_field.required'); for (var i = 0; i = 0) { return 'checkboxes'; } else { return 'text_field'; } }, checkboxAndRadioValidation: function(field) { var inputs = field.getElementsByTagName('input'), selected = false; for (var i = 0; i < inputs.length; ++i) { var input = inputs[i]; if((input.type === 'checkbox' || input.type === 'radio') && input.checked) { selected = true; } } if (selected) { field.className = field.className.replace(/ invalid/g, ''); } else { if (field.className.indexOf('invalid') === -1) { field.className += ' invalid'; } this.isValid = false; } }, textAndDropdownValidation: function(field, type) { var inputs = field.getElementsByTagName('input'); for (var i = 0; i = 0) { if (type === 'text_field') { this.textValidation(input); } else { this.dropdownValidation(field, input); } } } this.htmlEmbedDropdownValidation(field); }, textValidation: function(input) { if (input.id === 'signup_email') return; if (input.value) { this.removeTextFieldError(input); } else { this.textFieldError(input); this.isValid = false; } }, dropdownValidation: function(field, input) { if (input.value) { field.className = field.className.replace(/ invalid/g, ''); } else { if (field.className.indexOf('invalid') === -1) field.className += ' invalid'; this.onSelectCallback(input); this.isValid = false; } }, htmlEmbedDropdownValidation: function(field) { var dropdowns = field.querySelectorAll('.mimi_html_dropdown'); var _this = this; for (var i = 0; i < dropdowns.length; ++i) { var dropdown = dropdowns[i]; if (dropdown.value) { field.className = field.className.replace(/ invalid/g, ''); } else { if (field.className.indexOf('invalid') === -1) field.className += ' invalid'; this.isValid = false; dropdown.onchange = (function(){ _this.validate(); }); } } }, textFieldError: function(input) { input.className = 'required invalid'; input.placeholder = input.getAttribute('data-required-field'); }, removeTextFieldError: function(input) { input.className = 'required'; input.placeholder = ''; }, onSelectCallback: function(input) { if (typeof Widget === 'undefined' || !Widget.BasicDropdown) return; var dropdownEl = input.parentNode, instances = Widget.BasicDropdown.instances, _this = this; for (var i = 0; i < instances.length; ++i) { var instance = instances[i]; if (instance.wrapperEl === dropdownEl) { instance.onSelect = function(){ _this.validate() }; } } }, updateFormAfterValidation: function() { this.form.className = this.setFormClassName(); this.submit.value = this.submitButtonText(); this.submit.disabled = !this.isValid; this.submit.className = this.isValid ? 'submit' : 'disabled'; }, setFormClassName: function() { var name = this.form.className; if (this.isValid) { return name.replace(/\s?mimi_invalid/, ''); } else { if (name.indexOf('mimi_invalid') === -1) { return name += ' mimi_invalid'; } else { return name; } } }, submitButtonText: function() { var invalidFields = document.querySelectorAll('.invalid'), text; if (this.isValid || !invalidFields) { text = this.submit.getAttribute('data-default-text'); } else { if (invalidFields.length || invalidFields[0].className.indexOf('checkgroup') === -1) { text = this.submit.getAttribute('data-invalid-text'); } else { text = this.submit.getAttribute('data-choose-list'); } } return text; }, submitForm: function() { this.formSubmitting(); var _this = this; window[this.callbackName] = function(response) { delete window[this.callbackName]; document.body.removeChild(script); _this.onSubmitCallback(response); }; var script = document.createElement('script'); script.src = this.formUrl('json'); document.body.appendChild(script); }, formUrl: function(format) { var action = this.form.action; if (format === 'json') action += '.json'; return action + '?callback=' + this.callbackName + '&' + serialize(this.form); }, formSubmitting: function() { this.form.className += ' mimi_submitting'; this.submit.value = this.submit.getAttribute('data-submitting-text'); this.submit.disabled = true; this.submit.className = 'disabled'; }, onSubmitCallback: function(response) { if (response.success) { this.onSubmitSuccess(response.result); } else { top.location.href = this.formUrl('html'); } }, onSubmitSuccess: function(result) { if (result.has_redirect) { top.location.href = result.redirect; } else if(result.single_opt_in || !result.confirmation_html) { this.disableForm(); this.updateSubmitButtonText(this.submit.getAttribute('data-thanks')); } else { this.showConfirmationText(result.confirmation_html); } }, showConfirmationText: function(html) { var fields = this.form.querySelectorAll('.mimi_field'); for (var i = 0; i < fields.length; ++i) { fields[i].style['display'] = 'none'; } (this.form.querySelectorAll('fieldset')[0] || this.form).innerHTML = html; }, disableForm: function() { var elements = this.form.elements; for (var i = 0; i < elements.length; ++i) { elements[i].disabled = true; } }, updateSubmitButtonText: function(text) { this.submit.value = text; }, revalidateOnChange: function() { var fields = this.form.querySelectorAll(".mimi_field.required"), _this = this; var onTextFieldChange = function() { if (this.getAttribute('name') === 'signup[email]') { if (_this.validEmail.test(this.value)) _this.validate(); } else { if (this.value.length === 1) _this.validate(); } } for (var i = 0; i < fields.length; ++i) { var inputs = fields[i].getElementsByTagName('input'); for (var j = 0; j < inputs.length; ++j) { if (this.fieldType(fields[i]) === 'text_field') { inputs[j].onkeyup = onTextFieldChange; inputs[j].onchange = onTextFieldChange; } else { inputs[j].onchange = function(){ _this.validate() }; } } } } }); if (document.addEventListener) { document.addEventListener("DOMContentLoaded", function() { new Mimi.Signups.EmbedValidation(); }); } else { window.attachEvent('onload', function() { new Mimi.Signups.EmbedValidation(); }); } })(this);

Contact Us

Get in touch with us

  • Postal Address: PO Box 542, BUDERIM, QLD 4556, AUSTRALIA.