Link to home
Start Free TrialLog in
Avatar of galaxy573
galaxy573

asked on

Format Mailto form: removing "+" in body after user submits form

I'm using a primitive mailto action inside a form. When the user clicks submit an outlook e-mail is opened and the Subject and Body is populated. However, The body is populated using a long string using "+" as spaces.. How do I get rid of those "+" so the body appears as the user has entered?

Please don't provide answers on how to use PHP to submit the form myself.  I'm given requirements  and the business owner wants this mailto form.

When I enter in "This is my subject" and "This is my details details details" and click submit.
the body apperas as follows: case_subject=this+is+my+subject&case_description=this+is+my+details+details+details&x=31&y=2

I would like the body to appear as such:
case_subject = this is my subject
case_description = this is my details details details


Thank you
<form id="create_case" METHOD="POST" name="create_case" action="mailto:xxx@xxxx.com?subject=Custom Case Portal">
		<div id="log_new_case_title">Log a new case</div>
		<div class="case_title">subject</div>
		<input type="text" value=""  maxlength="10000" size="30" name="case_subject" class="input_support" id="case_subject"/>
		<div class="case_title">details</div>
		<textarea cols="60" rows="10" name="case_description" class="input_support" id="case_description"></textarea>
 
		<input id="support_submit_button" type="image" src="/html/images/l.png" height=20 width=65 class="button"/>
		
	</form>

Open in new window

Avatar of galaxy573
galaxy573

ASKER

OK, while you all are taking a look at this... I think I'm going to try to use an onclick event in the submit button that takes the string and removes the +'s
ASKER CERTIFIED SOLUTION
Avatar of galaxy573
galaxy573

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial