I have an HTML form that I dropped into my Wordpress text widget that connects to a third party service so I need the form variables to be exactly right for it to work. The form is using GET rather than POST.

A select box I have is as follows:

<select name="a_mlsAreaMajor[]" id="IDX-a_mlsAreaMajor">
    <option value="DALLAS NORTHEAST (18)">Dallas Northeast (18)</option>

In the URL after submitting the form, it shows something like this


I need the URL to read


instead.. in order for the third party to process the form correctly.

What am I doing wrong here?

  • It's a text widget, can't you just modify the text in the widgets text box? Without seeing the html it's impossible to advise on html changes – Tom J Nowell Aug 21 '14 at 13:05
  • It seems to me your URL is correct. Its just encoded. Look at this reference: w3schools.com/tags/ref_urlencode.asp – Mauricio Moraes Aug 21 '14 at 13:11
  • @TomJNowell I included the select box that I have in the text widget for that purpose so readers could see the html that is the source. – RailsTweeter Aug 21 '14 at 17:26
  • @MauricioMoraes how do i prevent it from getting encoded? – RailsTweeter Aug 21 '14 at 17:27
  • 2
    Those URLs should be the same, I will use my own site to demonstrate: tomjn.com/?s=( vs tomjn.com/?s=%28 are both the same – Tom J Nowell Aug 21 '14 at 18:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.