Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

POST request from other domain




I am using a custom HTML form to POST some data to the design my night booking system. This all works fine.

When the form is sent we want to then redirect the user back to the squarespace site using:

  DMN.val('return_url', 'https://www.our-url.co.uk/thank-you');
  DMN.val('return_method', 'post');

I get the following error:

Uncaught ReferenceError: DMN is not defined
I am told this is because"make sure that your webserver and application can accept POST requests from the designmynight.com domain (including any subdomains)"
How do I go about doing this?

many thanks




Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...