Add question to Satisfaction Survey

kevin.wilson@valerent.com's picture

I am working on a custom satisfaction survey and am stuck. I have never had to modify the new satisfaction survey in Helpdesk 6 SP5. I am used to working with the HTML version not the appweaver . I would like to add a question asking if the ticket should be closed.  I was able to get the question entered into the form properly, but cannot figure out how to update the code to insert the appropriate info in the comment section of the ticket once submitted
 
How do I change the code in the SatisfactionSurvey.ascx to have it insert the following comments based on what option is selected. Once I get the correct comment inserted, I can then run an incident rule to change the status to either Closed or Re-Opened based on the text entered into the comment.

The new question simple says "Do you want to close this ticket?" it then provides two options ("Yes" and "No")

· If the customer selects Yes to close the ticket, a comment should be added to the ticket stating “This incident can be closed.”
· If the customer selects No to close the ticket, a comment should be added to the ticket stating “This incident should be re-opened.”

The other problem I am having is when they select Yes or No to close the ticket, but do not select any other options to the rest of the default questions, the sat survey is not processes and nothing is added to the ticket.

Anyone know how to get this done?

Thanks,
Kevin