Set the subject/category/body line of a new discussion via url params

Adam's Avatar

Adam

14 Mar, 2010 04:36 AM

Would it be possible to set the subject/category/body line of a new discussion via url params? This could be useful for directing users to contact us to solve common problems that a faq can't. This would make creating and using filters very easy.

Thanks

  1. Support Staff 1 Posted by Courtenay on 14 Mar, 2010 08:13 AM

    Courtenay's Avatar

    You can.

    https://help.tenderapp.com/discussion/new?discussion%5Btitle%5D=This+my+title&discussion%5Bbody%5D=See&discussion%5Bprivate%5D=1

    Basically the params are

        discussion[title] = where's my email
        discussion[body] = hey what's up
        discussion[private] = 1
        discussion[author_name] = courtenay
        discussion[user_email] = [email blocked]
        discussion[category_id] = problems

    make sure to CGI encode them of course.

  2. 2 Posted by Adam on 14 Mar, 2010 08:14 PM

    Adam's Avatar

    Awesome, thanks Courtenay.

  3. Courtenay closed this discussion on 14 Mar, 2010 08:18 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac