Forums

[SOLVED] Form returning mult. answers from Radio btns...

revive 09 Oct, 2008
Hello,
Greayhead or Admin, if you're there... help!😀

Here is my code:



<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">WEBSITE QUESTIONNAIRE</h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">COMPANY DETAILS</h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Company Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="text_2" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Tag line or slogan</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_3" name="text_3" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Contact Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_4" name="text_4" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Telephone</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_5" name="text_5" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Email</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" id="text_6" name="text_6" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">Briefly describe your products or services:</label>
    <textarea class="cf_inputbox required" rows="3" id="text_7" cols="30" name="text_7"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">WEBSITE OVERVIEW</h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Who is your target audience?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_10" name="text_10" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you currently have a website online:</label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes0" name="radio0" type="radio">
      <label for="Yes0" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No0" name="radio0" type="radio">
      <label for="_No0" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><strong>If Yes</strong>, my site name is <span style="font-size:small;">(Include http://www.):</span></label>
    <input name="text_13" type="text" class="cf_inputbox validate-url" id="text_13" value="http://www." size="30" maxlength="150">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_checkbox">
    <label class="cf_label">The overall purpose of the website is: <span style="font-size:small;">(check all that apply)</span></label>
    <div class="float_left">
      <input value="Entertainment" class="radio validate-one-required" id="Entertainment" name="Entertainment" type="checkbox">
      <label for="Entertainment" class="check_label">Entertainment</label>
      <br>
      <input value=" Increase corporate-bran-product recognition" class="radio" id="_Increase corporate-bran-product recognition" name="_Increase corporate-bran-product recognition" type="checkbox">
      <label for="_Increase corporate-bran-product recognition" class="check_label"> Increase Corporate / Brand / Product Recognition</label>
      <br>
      <input value=" Reduce customer service calls" class="radio" id="_Reduce customer service calls" name="_Reduce customer service calls" type="checkbox">
      <label for="_Reduce customer service calls" class="check_label"> Reduce Customer Service Calls</label>
      <br>
      <input value=" Increase sales (e-commerce)" class="radio" id="_Increase sales (e-commerce)" name="_Increase sales (e-commerce)" type="checkbox">
      <label for="_Increase sales (e-commerce)" class="check_label"> Increase Sales (E-Commerce)</label>
      <br>
      <input value="Improve internal communication" class="radio" id="Improve_internal communication" name="Improve_internal communication" type="checkbox">
      <label for="Improve_internal communication" class="check_label">Improve Internal Communication</label>
      <br>
      <input value=" Increase prospective customer base" class="radio" id="_Increase prospective customer base" name="_Increase prospective customer base" type="checkbox">
      <label for="_Increase prospective customer base" class="check_label"> Increase Prospective Customer Base</label>
      <br>
      <input value=" Develop an online community" class="radio" id="_Develop an online community" name="_Develop an online community" type="checkbox">
      <label for="_Develop an online community" class="check_label"> Develop An Online Community</label>
      <br>
      <input value=" Gather data" class="radio" id="_Gather data" name="_Gather data" type="checkbox">
      <label for="_Gather data" class="check_label"> Gather Data</label>
      <br>
      <input value=" other " class="radio" id="_other " name="_other " type="checkbox">
      <label for="_other " class="check_label"> Other </label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">DESIGN DETAILS</h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have a corporate visual identity <span style="font-size:small;">(a customized (non stock) logo and color scheme carried throughout your office, stationery, business cards, etc.)</span>?</label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes11" name="radio11" type="radio">
      <label for="Yes11" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No11" name="radio11" type="radio">
      <label for="_No11" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, would you like to discuss creating a corp. identity for your company?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes10" name="radio10" type="radio">
      <label for="Yes10" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No10" name="radio10" type="radio">
      <label for="_No10" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have a logo? </label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes9" name="radio9" type="radio">
      <label for="Yes9" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No9" name="radio9" type="radio">
      <label for="_No9" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">If NO, Do you need one designed?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes8" name="radio8" type="radio">
      <label for="Yes8" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No8" name="radio8" type="radio">
      <label for="_No8" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have current <span style="font-size:small;">(online or in digital form)</span> promotional pieces such as brochures, catalogs, logos, etc.</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes10" name="radio10" type="radio">
      <label for="Yes10" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No10" name="radio10" type="radio">
      <label for="_No10" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label"><strong>If Yes</strong>, the pieces you have are:</label>
    <textarea class="cf_inputbox" rows="6" id="text_26" cols="40" name="text_26"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">Please visit our <a href="http://revivemarketing.org/demo" target="_blank">demo</a> site. Consider the layout, colors, navigation, graphics, and typography and list your top 3 favorites:</label>
    <textarea class="cf_inputbox" rows="3" id="text_28" cols="30" name="text_28"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">FEATURE DETAILS</h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">List the major <span style="font-size:small;">(navigation)</span> sections that you would like to have in your site:</label>
    <textarea class="cf_inputbox" rows="10" id="text_33" cols="40" name="text_33"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have all content written and ready to be placed within a website?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes18" name="radio18" type="radio">
      <label for="Yes18" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No18" name="radio18" type="radio">
      <label for="_No18" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, Would you like us to help develop textual content for your site? </label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes17" name="radio17" type="radio">
      <label for="Yes17" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No17" name="radio17" type="radio">
      <label for="_No17" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_datetimepicker">
    <label class="cf_label">By what date would you like to launch your site?</label>
    <input onclick="new Calendar(this);" class="cf_datetime required" size="20" id="date_36" name="date_36" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Are you scheduling other events around this deadline?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes16" name="radio16" type="radio">
      <label for="Yes16" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No16" name="radio16" type="radio">
      <label for="_No16" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">What is the budget for your project?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_38" name="text_38" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Will you need the project broken down in phases to help meet financial goals?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes18" name="radio18" type="radio">
      <label for="Yes18" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No18" name="radio18" type="radio">
      <label for="_No18" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_checkbox">
    <label class="cf_label">Which special features would you like to offer <span style="font-size:small;">(check all that apply)</span>?</label>
    <div class="float_left">
      <input value="Online email forms" class="radio" id="Online_email forms" name="Online_email forms" type="checkbox">
      <label for="Online_email forms" class="check_label">Online Email Forms</label>
      <br>
      <input value=" Members-only sections" class="radio" id="_Members-only sections" name="_Members-only sections" type="checkbox">
      <label for="_Members-only sections" class="check_label"> Members-Only Sections</label>
      <br>
      <input value=" Community sections or Forums" class="radio" id="_Community sections or Forums" name="_Community sections or Forums" type="checkbox">
      <label for="_Community sections or Forums" class="check_label"> Community Sections Or Forums</label>
      <br>
      <input value=" E-commerce / Shopping Cart" class="radio" id="_E-commerce / Shopping Cart" name="_E-commerce / Shopping Cart" type="checkbox">
      <label for="_E-commerce / Shopping Cart" class="check_label"> E-Commerce / Shopping Cart</label>
      <br>
      <input value=" Online Calendar" class="radio" id="_Online Calendar" name="_Online Calendar" type="checkbox">
      <label for="_Online Calendar" class="check_label"> Online Calendar</label>
      <br>
      <input value=" Animated banner ads for banner exchanges" class="radio" id="_Animated banner ads for banner exchanges" name="_Animated banner ads for banner exchanges" type="checkbox">
      <label for="_Animated banner ads for banner exchanges" class="check_label"> Animated Banner Ads For Banner Exchanges</label>
      <br>
      <input value=" Online multimedia (audio/video) viewing/downloading" class="radio" id="_Online multimedia (audio/video) viewing/downloading" name="_Online multimedia (audio/video) viewing/downloading" type="checkbox">
      <label for="_Online multimedia (audio/video) viewing/downloading" class="check_label"> Online Multimedia (Audio/Video) Viewing/Downloading</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you accept credit cards online</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes20" name="radio20" type="radio">
      <label for="Yes20" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No20" name="radio20" type="radio">
      <label for="_No20" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><strong>If Yes</strong>, who is your merchant services provider?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_42" name="text_42" type="text">
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Would you be interested in having Revive professionally update and maintain your site content, etc.</label>
    ?
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes28" name="radio28" type="radio">
      <label for="Yes28" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No28" name="radio28" type="radio">
      <label for="_No28" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If Yes</strong>, How frequently will new content need to be added/deleted/updated? </label>
    <div class="float_left">
      <input value="Daily" class="radio" id="Daily27" name="radio27" type="radio">
      <label for="Daily27" class="radio_label">Daily</label>
      <br>
      <input value=" Weekly" class="radio" id="_Weekly27" name="radio27" type="radio">
      <label for="_Weekly27" class="radio_label"> Weekly</label>
      <br>
      <input value=" Monthly" class="radio" id="_Monthly27" name="radio27" type="radio">
      <label for="_Monthly27" class="radio_label"> Monthly</label>
      <br>
      <input value=" As Needed" class="radio" id="_As Needed27" name="radio27" type="radio">
      <label for="_As Needed27" class="radio_label"> As Needed</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, Will your staff need to be trained on website maintenance and admin functions?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes28" name="radio28" type="radio">
      <label for="Yes28" class="radio_label">Yes</label>
      <br>
      <input value=" No" class="radio" id="_No28" name="radio28" type="radio">
      <label for="_No28" class="radio_label"> No</label>
      <br>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">Are there any other comments/specific ideas we should keep in mind while designing your project?</label>
    <textarea class="cf_inputbox required" rows="10" id="text_49" cols="30" name="text_49"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label">Verification</label>
    <span>{imageverification}</span><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" border="0" height="16" width="16"></a>
    <div  class="tooltipdiv">Verification :: Please enter the letters/numbers ad show in the image</div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" name="undefined" type="submit">
  </div>
  <div class="clear"> </div>
</div>


I have each sections radio buttons named with the same name, which I thought was supposed to make it return ONE of the values, not both.. but I am getting both the YES and NO in my emails.. which does no good in letting me know which one they actually selected LOL...

Any help is greatly appreciated

Jesse
GreyHead 09 Oct, 2008
Hi revive,

All looks OK here with the standard debug email - are you using an email template? Can you post an example of the problem email?

Bob
revive 09 Oct, 2008
Hey Bob,

I just looked again and the email template is not showing??? why would that be... when it was there a lil bit ago??
revive 09 Oct, 2008
[SOLVED]:

WIthin the form code, I needed to have the series of checkboxes that I wanted to be shown in the email template named as an array: ' name="features[]" '
and within the email template, just the base name was needed to call the data into the email template: ' {features} '
and all works well...

****REVISED******

Ok,.. put this one together,, but ran into a problem, or rather a question.. where results are to be shown from mult. check box options, there is only the results from the last checkbox selected.. The 'names' are all the same for the series of check boxes ..should I change that and call the field name via the 'name[]' syntax?

What should be the names for the seris of check boxes,.. and is that the same name that is called in the template??


Here is my current form code:


<div  class="form_item">
  <div class="form_element cf_heading">
    <h4 id="" class="cf_text">WEBSITE QUESTIONNAIRE <span style="font-size:x-small;">(<img src="images/icon_required.gif" />INDICATES A REQUIRED FEILD)</span></h4>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h5 id="" class="cf_text">COMPANY DETAILS</h5>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><img src="images/icon_required.gif" />Company Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="text_2" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Tag line or slogan</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_3" name="text_3" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><img src="images/icon_required.gif" />Contact Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_4" name="text_4" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><img src="images/icon_required.gif" />Telephone</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_5" name="text_5" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><img src="images/icon_required.gif" />Email</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" id="text_6" name="text_6" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label"><img src="images/icon_required.gif" />Briefly describe your products or services:</label>
    <textarea class="cf_inputbox required" rows="3" id="text_7" cols="30" name="text_7"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h5 id="" class="cf_text">WEBSITE OVERVIEW</h5>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Who is your target audience?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_10" name="text_10" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><img src="images/icon_required.gif" />Do you currently have a website online:</label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes0" name="radio0" type="radio" />
      <label for="Yes0" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No0" name="radio0" type="radio" />
      <label for="No0" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><strong>If Yes</strong>, my site name is <span style="font-size:small;">(Include http://www.):</span></label>
    <input name="text_13" type="text" class="cf_inputbox" id="text_13" value="http://www." size="30" maxlength="150" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_checkbox">
    <label class="cf_label"><img src="images/icon_required.gif" />The overall purpose of the website is: <span style="font-size:small;">(check all that apply)</span></label>
    <div class="float_left">
      <input value="Entertainment" class="radio validate-one-required" id="Entertainment" name="purpose" type="checkbox" />
      <label for="Entertainment" class="check_label">Entertainment</label>
      <br />
      <input value="Increase corporate-bran-product recognition" class="radio" id="Increase corporate-bran-product recognition" name="purpose" type="checkbox" />
      <label for="Increase corporate-bran-product recognition" class="check_label">Increase Corporate / Brand / Product Recognition</label>
      <br />
      <input value="Reduce customer service calls" class="radio" id="Reduce customer service calls" name="purpose" type="checkbox" />
      <label for="Reduce customer service calls" class="check_label">Reduce Customer Service Calls</label>
      <br />
      <input value="Increase sales (e-commerce)" class="radio" id="Increase sales (e-commerce)" name="purpose" type="checkbox" />
      <label for="Increase sales (e-commerce)" class="check_label">Increase Sales (E-Commerce)</label>
      <br />
      <input value="Improve internal communication" class="radio" id="Improve_internal communication" name="purpose" type="checkbox" />
      <label for="Improve_internal communication" class="check_label">Improve Internal Communication</label>
      <br />
      <input value="Increase prospective customer base" class="radio" id="Increase prospective customer base" name="purpose" type="checkbox" />
      <label for="Increase prospective customer base" class="check_label">Increase Prospective Customer Base</label>
      <br />
      <input value="Develop an online community" class="radio" id="Develop an online community" name="purpose" type="checkbox" />
      <label for="Develop an online community" class="check_label">Develop An Online Community</label>
      <br />
      <input value="Gather data" class="radio" id="Gather data" name="purpose" type="checkbox" />
      <label for="Gather data" class="check_label">Gather Data</label>
      <br />
      <input value="other " class="radio" id="other " name="purpose " type="checkbox" />
      <label for="other " class="check_label">Other </label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h5 id="" class="cf_text">DESIGN DETAILS</h5>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><img src="images/icon_required.gif" />Do you have a corporate visual identity <span style="font-size:small;">(a customized (non stock) logo and color scheme carried throughout your office, stationery, business cards, etc.)</span>?</label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes11" name="radio11" type="radio" />
      <label for="Yes11" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No11" name="radio11" type="radio" />
      <label for="No11" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, would you like to discuss creating a corp. identity for your company?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes10" name="radio10" type="radio" />
      <label for="Yes10" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No10" name="radio10" type="radio" />
      <label for="No10" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><img src="images/icon_required.gif" />Do you have a logo? </label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes9" name="radio9" type="radio" />
      <label for="Yes9" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No9" name="radio9" type="radio" />
      <label for="No9" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, Do you need one designed?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes8" name="radio8" type="radio" />
      <label for="Yes8" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No8" name="radio8" type="radio" />
      <label for="No8" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have current <span style="font-size:small;">(online or in digital form) </span>promotional pieces such as brochures, catalogs, logos, etc.</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes10" name="radio10" type="radio" />
      <label for="Yes10" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No10" name="radio10" type="radio" />
      <label for="No10" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label"><strong>If Yes</strong>, the pieces you have are:</label>
    <textarea class="cf_inputbox" rows="6" id="text_26" cols="40" name="text_26"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">Please visit our <a href="http://revivemarketing.org/demo" target="blank">demo</a> site. Consider the layout, colors, navigation, graphics, and typography and list your top 3 favorites:</label>
    <textarea class="cf_inputbox" rows="3" id="text_28" cols="30" name="text_28"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_heading">
    <h5 id="" class="cf_text">FEATURE DETAILS</h5>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">List the major <span style="font-size:small;">(navigation)</span> sections that you would like to have in your site:</label>
    <textarea class="cf_inputbox" rows="10" id="text_33" cols="40" name="text_33"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you have all content written and ready to be placed within a website?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes18" name="radio18" type="radio" />
      <label for="Yes18" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No18" name="radio18" type="radio" />
      <label for="No18" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, Would you like us to help develop textual content for your site? </label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes17" name="radio17" type="radio" />
      <label for="Yes17" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No17" name="radio17" type="radio" />
      <label for="No17" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_datetimepicker">
    <label class="cf_label"><img src="images/icon_required.gif" />By what date would you like to launch your site?</label>
    <input onclick="new Calendar(this);" class="cf_datetime required" size="20" id="date_36" name="date_36" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Are you scheduling other events around this deadline?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes16" name="radio16" type="radio" />
      <label for="Yes16" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No16" name="radio16" type="radio" />
      <label for="No16" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">What is the budget for your project?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_38" name="text_38" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Will you need the project broken down in phases to help meet financial goals?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes18" name="radio18" type="radio" />
      <label for="Yes18" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No18" name="radio18" type="radio" />
      <label for="No18" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_checkbox">
    <label class="cf_label">Which special features would you like to offer? <span style="font-size:small;">(check all that apply)</span></label>
    <div class="float_left">
      <input value="Online email forms" class="radio" id="Online_email forms" name="features" type="checkbox" />
      <label for="Online_email forms" class="check_label">Online Email Forms</label>
      <br />
      <input value="Members-only sections" class="radio" id="Members-only sections" name="features" type="checkbox" />
      <label for="Members-only sections" class="check_label">Members-Only Sections</label>
      <br />
      <input value="Community sections or Forums" class="radio" id="Community sections or Forums" name="features" type="checkbox" />
      <label for="Community sections or Forums" class="check_label">Community Sections Or Forums</label>
      <br />
      <input value="E-commerce / Shopping Cart" class="radio" id="E-commerce / Shopping Cart" name="features" type="checkbox" />
      <label for="E-commerce / Shopping Cart" class="check_label">E-Commerce / Shopping Cart</label>
      <br />
      <input value="Online Calendar" class="radio" id="Online Calendar" name="features" type="checkbox" />
      <label for="Online Calendar" class="check_label">Online Calendar</label>
      <br />
      <input value="Animated banner ads for banner exchanges" class="radio" id="Animated banner ads for banner exchanges" name="features" type="checkbox" />
      <label for="Animated banner ads for banner exchanges" class="check_label">Animated Banner Ads For Banner Exchanges</label>
      <br />
      <input value="Online multimedia (audio/video) viewing/downloading" class="radio" id="Online multimedia (audio/video) viewing/downloading" name="features" type="checkbox" />
      <label for="Online multimedia (audio/video) viewing/downloading" class="check_label">Online Multimedia (Audio/Video) Viewing/Downloading</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label">Do you accept credit cards online</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes20" name="radio20" type="radio" />
      <label for="Yes20" class="radio_label">Yes</label>
      <br />
      <input value="No" class="radio" id="No20" name="radio20" type="radio" />
      <label for="No20" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label"><strong>If Yes</strong>, who is your merchant services provider?</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_42" name="text_42" type="text" />
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><img src="images/icon_required.gif" />Would you be interested in having Revive professionally update and maintain your site content, etc.?</label>
    <div class="float_left">
      <input value="Yes" class="radio validate-one-required" id="Yes28" name="radio28" type="radio" />
      <label for="Yes28" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No28" name="radio28" type="radio" />
      <label for="No28" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If Yes</strong>, How frequently will new content need to be added/deleted/updated? </label>
    <div class="float_left">
      <input value="Daily" class="radio" id="Daily27" name="radio27" type="radio" />
      <label for="Daily27" class="radio_label">Daily</label>
      <br />
      <input value=" Weekly" class="radio" id="Weekly27" name="radio27" type="radio" />
      <label for="Weekly27" class="radio_label">Weekly</label>
      <br />
      <input value=" Monthly" class="radio" id="Monthly27" name="radio27" type="radio" />
      <label for="Monthly27" class="radio_label">Monthly</label>
      <br />
      <input value=" As Needed" class="radio" id="As Needed27" name="radio27" type="radio" />
      <label for="As Needed27" class="radio_label">As Needed</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label"><strong>If No</strong>, Will your staff need to be trained on website maintenance and admin functions?</label>
    <div class="float_left">
      <input value="Yes" class="radio" id="Yes29" name="radio29" type="radio" />
      <label for="Yes29" class="radio_label">Yes</label>
      <br />
      <input value=" No" class="radio" id="No29" name="radio29" type="radio" />
      <label for="No29" class="radio_label">No</label>
      <br />
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label"><img src="images/icon_required.gif" />Are there any other comments/specific ideas we should keep in mind while designing your project?</label>
    <textarea class="cf_inputbox required" rows="10" id="text_49" cols="30" name="text_49"></textarea>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label">Verification <span style="font-size:small;">(Input is NOT case sensitive) </span></label>
    <span>{imageverification}</span><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" border="0" height="16" width="16" /></a>
    <div  class="tooltipdiv"><img src="images/icon_required.gif" />Verification :: Please enter the letters/numbers as show in the image</div>
  </div>
  <div class="clear"> </div>
</div>
<div  class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" name="undefined" type="submit" />
  </div>
  <div class="clear"> </div>
</div>



And my current email template code:


<h1>WEBSITE QUESTIONNAIRE</h1>


<b>COMPANY DETAILS</b>
<p>
Company Name: <span style="color:#0b55c4; font-weight:bold;">{text_2}</span></span><br />
Tag line or slogan: <span style="color:#0b55c4; font-weight:bold;">{text_3}</span><br />
<p>
Contact Name: <span style="color:#0b55c4; font-weight:bold;">{text_4}</span><br />
Telephone: <span style="color:#0b55c4; font-weight:bold;">{text_5}</span><br />
Email: <span style="color:#0b55c4; font-weight:bold;">{text_6}</span><br />
<p>
Briefly describe your products or services:<br />
<span style="color:#0b55c4; font-weight:bold;">{text_7}</span> 
<p>
<p>
<b>WEBSITE OVERVIEW</b>
<p>
Who is your target audience?:<br />
<span style="color:#0b55c4; font-weight:bold;">{text_10}</span>
<p>
Do you currently have a website online:<br />
<span style="color:#0b55c4; font-weight:bold;">{radio0}</span> 
<p>
If Yes, my site name is (Include http://www.):<br />
<span style="color:#0b55c4; font-weight:bold;">{text_13}</span>
<p>
The overall purpose of the website is: (check all that apply):<br />
<span style="color:#0b55c4; font-weight:bold;">{purpose[]}</span><br />

<p>
<p>
<b>DESIGN DETAILS</b>
<p>
Do you have a corporate visual identity (a customized (non stock) logo and color scheme carried throughout your office, stationery, business cards, etc.)?: <br />
<span style="color:#0b55c4; font-weight:bold;">{radio11}</span> 
<p>
If No, would you like to discuss creating a corp. identity for your company?:<br />
<span style="color:#0b55c4; font-weight:bold;">{radio10}</span> 
<p>
Do you have a logo?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio9}</span> 
<p>
If NO, Do you need one designed?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio8}</span> 
<p>
Do you have current (online or in digital form) promotional pieces such as brochures, catalogs, logos, etc.:<br />
<span style="color:#0b55c4; font-weight:bold;">{radio10}</span> 
<p>
If Yes, the pieces you have are:<br />
<span style="color:#0b55c4; font-weight:bold;">{text_26}</span> 
<p>
My top 3 favorites templates:<br />
<span style="color:#0b55c4; font-weight:bold;">{text_28}</span> 
<p>
<p>
<b>FEATURE DETAILS</b>
<p>
List the major (navigation) sections that you would like to have in your site<br />
<span style="color:#0b55c4; font-weight:bold;">{text_33}</span> 
<p>
Do you have all content written and ready to be placed within a website<br />
<span style="color:#0b55c4; font-weight:bold;">{radio18}</span> 
<p>
If No, Would you like us to help develop textual content for your site? <br />
<span style="color:#0b55c4; font-weight:bold;">{radio17}</span> 
<p>
By what date would you like to launch your site?<br />
<span style="color:#0b55c4; font-weight:bold;">{date_36}</span> 
<p>
Are you scheduling other events around this deadline?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio16}</span> 
<p>
What is the budget for your project?<br />
<span style="color:#0b55c4; font-weight:bold;">{text_38}</span> 
<p>
Will you need the project broken down in phases to help meet financial goals?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio18}</span> 
<p>
Which special features would you like to offer (check all that apply)? <br />
<span style="color:#0b55c4; font-weight:bold;">{features[]}</span><br />

<p>
Do you accept credit cards online<br />
<span style="color:#0b55c4; font-weight:bold;">{radio20}</span> 
<p>
If Yes, who is your merchant services provider?<br />
<span style="color:#0b55c4; font-weight:bold;">{text_42}</span> 
<p>
Would you be interested in having Revive professionally update and maintain your site content, etc.?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio28}</span> 
<p>
If Yes, How frequently will new content need to be added/deleted/updated?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio27}</span> 
<p>
If No, Will your staff need to be trained on website maintenance and admin functions?<br />
<span style="color:#0b55c4; font-weight:bold;">{radio28}</span> 
<p>
Are there any other comments/specific ideas we should keep in mind while designing your project?<br />
<span style="color:#0b55c4; font-weight:bold;">{text_49}</span>
<p>

      


This combo only returns the LAST item selected via the check boxes... ???
Max_admin 09 Oct, 2008
Hi revive, rename the checkboxes group to have only one name with this formula : one_name[]

now at the email template use {one_name}

cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
revive 09 Oct, 2008
You rock Max,

I just figured that out from another response you had sent, on another post.. probably the same time you typed that!!!

Thank you... both times!
This topic is locked and no more replies can be posted.