Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
I am a newbie to php but i am liking the way q2a is implemented.I am trying to integrate q2a with my website.

The functionality i am trying to achieve is ,
User types in the title of his question on my website and then when he clicks on continue ,he is redirected to my q2a site with title displayed.

So i need to know where exactly in the php code the title text box is being populated,so that i can tweak that code to get title values from my post method.

Thank you

1 Answer

+1 vote
I'm not sure I'm understanding you completely.

Can you simply post the title (as the variable "title") to your ask page, e.g. "/qa/ask". In other words you can basically copy the form from the ask page:

    <form method="post" action="/qa/ask">
      <input type="text" name="title" />
      <input type="submit" value="Submit" />