HTML form name replaced with wrong symbols -


i have following form

<form name="input" action="http://testdomain.com/search/?" method="get" autocomplete="off">     <input type="text" name="?wpv_paged_preload_reach=1&wpv_view_count=1&wpv_post_id=205499&wpv_post_search=">     <input type="submit" id="searchsubmit" value=""> </form>  

however actual url displays following search query:

/search/?%3fwpv_paged_preload_reach%3d1%26wpv_view_count%3d1%26wpv_post_id%3d205499%26wpv_post_search%3d=test 

it seems special symbols such ? , = getting replaced special encoding characters.

my question is, how form not switch special symbols encoding characters?

thanks

the name of input element controls name of 1 field. browser doesn’t blindly mash , value , send server. request, can include each 1 hidden field:

<form name="input" action="http://testdomain.com/search/" method="get" autocomplete="off">     <input type="hidden" name="wpv_paged_preload_reach" value="1" />     <input type="hidden" name="wpv_view_count" value="1" />     <input type="hidden" name="wpv_post_id" value="205499" />     <input type="text" name="wpv_post_search" />     <input type="submit" id="searchsubmit" /> </form> 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -