Autopopulating data from one for to another form, hosted on another site

sayan.digit

New Member
I'm trying to use a custom form, to populate over fields in another form, which is hosted on jotform. With rails, moving over info is pretty easy, but I'm not sure how to do it in php.I have a custom form set up which has the fields for the number of guests, the check in date, and the check out date. What I'd like to do is to make it so that when I hit submit on the first form, it would populate the data on the reservation form. The reservation is hosted on jotform.I tried testing this by matching the ID of the fields ( i.e the same as on jotform), but when I click submit, it doesn't transfer over the data. --You can replicate this by going to http://opohills.com/taipei-rentals.php and entering information right under the slider--What what I write in PHP which would carry the information over? Is this on my end, or on jotform's? The code for my custom form is --\[code\] <form id="formElem" name="formElem" action="form.php" method="post" > <div class="icon"> <select id="input_13" name="capacity" > <option value="http://stackoverflow.com/questions/13762203/1">1</option> <option value="http://stackoverflow.com/questions/13762203/2">2</option> <option value="http://stackoverflow.com/questions/13762203/3">3</option> <option value="http://stackoverflow.com/questions/13762203/4">4</option> <option value="http://stackoverflow.com/questions/13762203/5">5</option> <option value="http://stackoverflow.com/questions/13762203/more">6+</option> </select> <span><img src="http://stackoverflow.com/questions/13762203/img/man.png" /></span> </div> <div class="icon"> <input id="txtFromDate" name="check_in" placeholder="mm/dd/yy" type="text" readonly="readonly" AUTOCOMPLETE=OFF /> <span><img src="http://stackoverflow.com/questions/13762203/img/calendar.png" /></span> </div> <div class="icon"> <input id="txtToDate" name="check_out" placeholder="mm/dd/yy" type="text" readonly="readonly" AUTOCOMPLETE=OFF /> <span><img src="http://stackoverflow.com/questions/13762203/img/calendar.png" /></span> </div> <button id="btn_room_search" type="submit" class="secondary button submit_button">Inquire Now</button> </form>\[/code\]
 
Back
Top