Fog Creek Software
Discussion Board

Prepopulate the New Case form

Is there a way to create a link to the New Case form (either the public one or the one available to logged-in users) that will prepopulate some of the fields?  For example, in my Web application I'd like to add a link "Submit a Bug", which takes the user to the new case form, with the correct project and area automatically selected, their browser & platform info automatically added in the Computer field, and the URL they were looking at already entered into the bug description field. 

I tried adding values to the query string (/default.asp?pg=pgPublicEdit&ixProject=4) for example, but it doesn't seem to recognize the additional values.

Monday, May 3, 2004

Save the html from the page, then just edit the form fields so they are hiddens.  Then you can put whatever chrome you want around the page.  (Note, if they aren't logged in, the case won't be created unless you are submitting to a publically submittable project).

Michael H. Pryor
Fog Creek Software
Monday, May 3, 2004

*  Recent Topics

*  Fog Creek Home