3

Is it possible to auto fill new question form using GET parameters ?

I tried with

/questions/ask?title=Foo

it fills title well.

How can do it with question and tags ?

6
  • there is form for that Feb 6, 2013 at 10:59
  • 1
    Why would you wanna do that?
    – juergen d
    Feb 6, 2013 at 10:59
  • I`m trying to generate some url to fill form from outside of browser (because of no write API) and open it when user fills form in my app.
    – hsz
    Feb 6, 2013 at 11:00
  • like this. body can't be prefilled. Feb 6, 2013 at 11:20
  • @juergend thought I had corrected it.. but seems not - thanks! Feb 6, 2013 at 11:21
  • 2
    @hsz: that sounds like a bad idea. Do the users of your application know and understand how SO/SE works? Will they confuse this with a general "fix-this-for-me" support form? I see a lot of bad questions resulting from this. Feb 6, 2013 at 11:35

1 Answer 1

5

First there is a form for that. But you can pre-fill the text with URL parameters.

For tags (e.g., and ) and title:

 /questions/ask?title=Foo&tags=c%23+.net

For the text area as well:

 /questions/ask?title=Foo&tags=c%23+.net&question=thisisfortextarea
3
  • Ok, what about textarea's content ?
    – hsz
    Feb 6, 2013 at 11:01
  • Unfortunate example with c++ as tag. Using multiple tags would require to add them with +
    – juergen d
    Feb 6, 2013 at 11:08
  • The question= portion for the text area isn't working. (Just by pasting in the example above). Is there an alternative to put text in the question body? Jan 24, 2014 at 12:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .