SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict SunnaH's Avatar
    Join Date
    Aug 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Radio Buttons Only

    My form works perfectly all but the few radio button questions I have. I am not gettng the email response. I keep forgetting how to code them. Can some one please let me now how to correct it? Thanks.

    -=SunnaH=-

    http://www.stc.org/formKatrinaAide02.asp


    <div id="row">
    <span class="textHeaderBIG">Needs</span>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="butResume">
    <span class="label entry">Resume Assistance/span>
    <input name="resume" type="radio" value="Yes" label="butResume" id="resume">Yes
    <input name="resume" type="radio" value="No" label="butResume" id="resume">No
    </label>
    </span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="butClothes">
    <span class="label">Work Clothing/span>
    <input type="radio" name="clothes" value="Yes" label="butClothes" id="clothes">Yes
    <input type="radio" name="clothes" value="No" label="butClothes" id="clothes">No
    </label>
    </span>
    </div>


    <div class="sidebyside">
    <span class="box2">
    <label for="butGender">
    <span class="label">Gender/span>
    <input type="radio" name="Gender" value="Male" label="butGender" id="male">Male
    <input type="radio" name="Gender" value="Female" label="butGender" id="female">Female
    </label>
    </span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="butGender">
    <span class="label">Type of Clothes/span>
    <input type="radio" name="Type" value="Business" label="butType" id="Type">Business<br />
    <input type="radio" name="Type" value="BusinessCasual" label="butType" id="Type">Business Casual<br />
    <input type="radio" name="Type" value="Casual" label="butType" id="Type">Casual
    </label>
    </span>
    </div>

    <div class="sidebyside">
    <span class="box2">
    <label for="txtSize">
    <span class="label">Clothes Size/span></label>
    <span class="entry">
    <input name="txtSize" type="text" class="text" id="Size" size="35" maxlength="50" label="Size">
    </span></span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="txtOtherClothes">
    <span class="label">Other Types of Clothes/span></label>
    <span class="entry">
    <input name="txtOtherClothes" type="text" class="text" id="otherClothes" size="35" maxlength="50" label="Other Clothes">
    </span></span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="butJob">
    <span class="label">Job or Project/span>
    <input type="radio" name="Job" value="Yes" label="butJob" id="Job">Yes
    <input type="radio" name="Job" value="No" label="butJob" id="Job">No
    </label>
    </span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="txtLocation"><span class="label">Location/span></label>
    <span class="entry">
    <input name="txtLocation" type="text" class="text" id="Location" size="35" maxlength="50" label="Location">
    </span></span>
    <span class="box2">
    <label for="txtWork"><span class="label">Type of Work (be specific)/span></label>
    <span class="entry">
    <input name="txtWork" type="text" class="text" id="Work" size="35" maxlength="50" label="Work">
    </span></span>
    </div>
    </div>

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <label for="butComp">
    <span class="label">Computer Hardware/span>
    <input type="radio" name="Computer" value="Yes" label="butComp" id="Computer">Yes
    <input type="radio" name="Computer" value="No" label="butComp" id="Computer">No
    </label>
    </span>
    <span class="box2">
    <label for="txtHardware"><span class="label">Type of Hardware/span></label>
    <span class="entry">
    <input name="txtHardware" type="text" class="text" id="Hardware" size="35" maxlength="50" label="Hardware">
    </span></span>
    </div>
    </div>

  2. #2
    SitePoint Addict SunnaH's Avatar
    Join Date
    Aug 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question UPDATE: Checkboxes not Working

    Can someone please tell me why I am not getting any email output of my check boxes? and how do I code the unchecked ones not to out put in the email?

    Thanks.

    -=Sunnah=-

    http://www.stc.org/formKatrinaAide02.asp

    <div id="row">
    <div class="sidebyside">
    <span class="box1">
    <span class="label">Type of Clothes/span>
    <input type="checkbox" name="Business" value="True" class="checkbox">Business</input><br />
    <input type="checkbox" name="Business Casual" value="True" class="checkbox">Business Casual</input><br />
    <input type="checkbox" name="Casual" value="True" class="checkbox">Casual</input>
    </span>
    </div>

  3. #3
    SitePoint Addict SunnaH's Avatar
    Join Date
    Aug 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To clarify, how do I code the selection on the form such as the checkboxes and drop down not to output in the email if they are not selected in the form?

    -=Sunnah=-


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •