We have a Quenstion and Answer script we have made.
Essentially, the form element looks like this ( I think the issue I have is POST and not GET )
Anyway will ask anyway.
On the Q and A page, users can enter title and question. So form looks a tad like this:
<form method="post">
<input id="askit" type="text" name="q_desc" value="">
...blah blah blah
</form>
Basically, I want to add a input field on an external page ( same domain ) so that when user clicks submit, it takes them to the Q and A page, and propagates the input field in the form above with the value of what they typed on previous page.
For this purpose I have added the id=”askit”
So basically, the external page would fire something like this:
http://www.somewebsite.com/questions/?askit=hello+world
Because my form uses Post, I am pretty sure this is where it is going pear shaped.
Any suggestions please. ? The form must be POST because it is for submitting questions.
To get
http://www.somewebsite.com/questions/?askit=hello+worldto working you need to update your code above in the following way: