Simple form parsing data twice??
-
‘
jQuery(document).ready(function($){
$(‘input[name=”start_date”]’).datepicker({dayNamesMin: [‘S’, ‘M’, ‘T’, ‘W’, ‘T’, ‘F’, ‘S’], dateFormat: “dd/mm/yy”, changeMonth: true, changeYear: true, minDate:”0″, maxDate:””, closeText: “”, currentText: “”});
});<form id=”availability” action=”http://db.barnesbrinkcraft.co.uk/barnes1/booking/houseClassAvailability” method=”post” name=”availabilty”>
<input name=”LMNB” value=”true” type=”hidden”><p></p>Nights:Full WeekShort BreakDate from:<div class=”form”>’
!–results in when testing with a get–!
https://secure.barnesbrinkcraft.co.uk/barnes1/booking/houseClassAvailability?LMNB=true&nights=7&start_date=12%2F02%2F2018&submit=Check+Availability?LMNB=true&nights=7&start_date=12%2F02%2F2018&submit=Check+AvailabilityWhy are the POST fields being parsed twice????
-
Hi mikekj124,
is your site perhaps self-hosted?
You can find more about the difference between WordPress.com and WordPress.org on this page.What is the URL for your site?
- The topic ‘Simple form parsing data twice??’ is closed to new replies.