php - How can I send Contact Form 7 data as search input to another website? -


i'm trying use contact form 7 plugin wordpress local hotel owned large national chain (choice hotels).

choice hotels redirects bookings website want build form lives on individual website , performs search given arrive date, depart date, # of rooms, # of adults, , # of children.

this "easy booker" example of functionality want (not design though, that's handled contact form 7 in theme we're using) http://www.comfortinnalbany.com/

do need use php script? can inside contact form 7 itself?

you easy booker does: include parameters in url.

https://www.choicehotels.com/new-york/castleton/comfort-inn-hotels/ny279?submit=reserve%20%20&checkindate=2015-01-01&checkoutdate=2015-01-05&hotel=ny279&nadult=1&nchild=0 

hack form action in contact form 7 adds search vars string,

then can grab , use vars in page receives form.

see get variables url string


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -