This question about Using an extension: Asked

Email not including data fileds in body...

Hello - I am having issues where the body of my email form does not include the correct fields entered in the email form. It just shows the text entered before %URLPARAM. Am I missing something here? My code is below...thanks.
<form enctype="application/x-www-form-urlencoded" name="mailform" action="%SCRIPTURL{sendemail}%/%WEB%/%TOPIC%" method="POST">
<legend><b>Send Email</b></legend>
<div class="foswikiFormSteps">
   <div class="foswikiFormStep">
      <input class="foswikiInputField" id="to" name="to" size="30" type="text" value="%URLPARAM{"to"}%" />
   <div class="foswikiFormStep">
       <input type="text" class="foswikiInputField" id="cc" name="cc" size="30"  value="%URLPARAM{"cc"}%" />
   <div class="foswikiFormStep">
      <input type="text" class="foswikiInputField" id="subject" name="subject" size="70" value="%URLPARAM{"subject"}%" />
   <div class="foswikiFormStep">
      <textarea name="body" style="display:none">
         From: %URLPARAM{"from"}%
         To: %URLPARAM{"to"}%
         CC: %URLPARAM{"cc"}%
         Subject: %URLPARAM{"subject"}%
   <div class="foswikiFormStep">
      <input type="submit" class="foswikiSubmit" value="Send" />

feedbackSuccess="Email request has been sent..."
feedbackError="Could not send your message, please contact us."
format="<div class=\"foswikiNotification\">$message</div>"


QuestionForm edit

Subject Using an extension
Extension FormPlugin, SendEmailPlugin
Version Foswiki 1.1.8
Status Asked
Related Topics
Topic revision: r2 - 11 Sep 2013, EricKrengel - This page was cached on 10 Jul 2019 - 06:56.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy