Forums

Multiple Pulldowns Not working.

cb1 23 Oct, 2010
hey,

1 - Working on a form that allows people to select quantities of shirts.

2 - However - when I email myself the test form - the only result is below:
Name My Name
Enter your email address: My email address
Enter Number of Shirts
Shirt Small {select_4}

I used the Code Wizard to build the form.

3 - I used the Code Wizard to build the form - the code is below:

<div class="form_item">
  <div class="form_element cf_text"> <span class="cf_text">Turkey Trot Shirt Order Form</span> </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Name</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_1" name="text_1" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Enter your email address:</label>
    <input class="cf_inputbox validate-email" maxlength="150" size="30" title="" id="text_2" name="text_2" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_text"> <span class="cf_text">Enter Number of Shirts Below</span> </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Shirt Size: Small</label>
    <select class="cf_inputbox" id="select_4" size="1" title=""  name="Size_Small">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Shirt Size: Medium</label>
    <select class="cf_inputbox" id="select_6" size="1" title=""  name="Size_Medium">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Shirt Size: Large</label>
    <select class="cf_inputbox" id="select_7" size="1" title=""  name="Size_Large">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Shirt Size: X-Large</label>
    <select class="cf_inputbox" id="select_8" size="1" title=""  name="Size_XL">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Shirt Size: 2XL</label>
    <select class="cf_inputbox" id="select_9" size="1" title=""  name="Size_XXL">
    <option value="">Choose Option</option>
      <option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>

    </select>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 150px;">Other Question or Comment:</label>
    <textarea class="cf_inputbox" rows="3" id="text_13" title="" cols="30" name="other_comment"></textarea>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label" style="width: 150px;">Enter letters in box:</label>
    <span>{imageverification}</span> 
    
    </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" name="button_17" type="submit" />
  </div>
  <div class="cfclear"> </div>
</div>


Any thoughts? I haven't done a lot of forms like this - so I am not sure what I am doing wrong. Thanks!
GreyHead 23 Oct, 2010
Hi cb1,

The Template uses the input **name** and it looks as though these have been changed since the template was created.
<select class="cf_inputbox" id="select_4" size="1" title=""  name="Size_Small">


Bob
cb1 23 Oct, 2010
I'm not following.

Are you referring to this line:
name="Size_Small"
?

Since I have multiple drop downs - I thought that was the only way to differentiate them?
GreyHead 23 Oct, 2010
Hi cb1,

There's no problem with that except that you haven't changed the Email Template to match the changed input names.

Bob
cb1 23 Oct, 2010
I got it fixed - I just rebuilt it from scratch. I do understand your comment now. Forgot to look there.

Thanks Bob!
This topic is locked and no more replies can be posted.