Collect text via form then merge all to MessageBody and send without form - TechRepublic
Question
March 9, 2010 at 01:44 PM
tytrate

Collect text via form then merge all to MessageBody and send without form

by tytrate . Updated 16 years, 4 months ago

I want users to be able to directly open a ticket on a helpdesk application via email. Thus far I?ve been able to create a form that collects data and sends it to a specified address. I need to know how to merge the text from each of the form?s fields into the message body then send only that text ? no form data.

Say the following represents a populated form:

FIELD01: General Manager
FIELD02: John Doe
FIELD03: Las Vegas
FIELD04: This is my problem description. I can?t seem to figure out how to create a form to automatically open a ticket on my helpdesk application.
FIELD05: Operations

What must I do to end up with a message body that contains the data associated with each field as well as some fixed strings as show below?

John Doe
General Manager
Las Vegas
%DESCRIPTION=This is my problem description. I can?t seem to figure out how to create a form to automatically open a ticket on my helpdesk application.
%CATEGORY= Operations

This discussion is locked

All Comments