Forums

Two user fields not coming through in email form results

stephaniegold 25 Mar, 2010
I am having problems with my form. In the email that comes to us after a user fills out a form, two of the fields come back with the field name and not the value that user entered, it comes in exactly as seen below:

Full Name {fullname}
Alternate Email {alternateemail}

I'm sure it is something simple i made a mistake on- but could use some fresh eyes! thank you!

http://www.reinvention-institute.com/for-individuals/coaching/73-reinvention-team-action-group-application.html

form code:
<?php
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration('jQuery.noConflict();');
?>
<h1>Reinvention Team Action Group Application</h1>
<br />
<p><strong>(All information is required)</strong></p>
<br />
<table cellpadding="20px;">
    <tbody>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Full Name</label></td>
            <td><input class="cf_inputbox required" maxlength="150" size="30" id="text_0" name="full_name" type="text" /></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Email Address</label></td>
            <td><input class="cf_inputbox required" maxlength="150" size="30" id="text_1" name="email" type="text" /></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Alternate Email</label></td>
            <td><input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="alternate_email" type="text" /></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Telephone</label></td>
            <td><input class="cf_inputbox required" maxlength="150" size="30" id="text_3" name="Telephone" type="text" /></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">City and State</label></td>
            <td><input class="cf_inputbox required" maxlength="150" size="30" id="text_5" name="citystate" type="text" /></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Are you currently working?</label></td>
            <td><input value="Yes" title="Field is Required" class="radio validate-one-required" id="radio00" name="radio0" type="radio" /> <label for="radio00" class="radio_label">Yes</label> <input value="No" title="Field is Required" class="radio validate-one-required" id="radio01" name="radio0" type="radio" /> <label for="radio01" class="radio_label">No</label></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">If yes, list current job. If no, list most recent position.</label></td>
            <td><textarea class="cf_inputbox required" rows="5" id="text_6" title="Field is Required" cols="60" name="work"></textarea></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Tell us briefly about your career background. How long have you been working; what industries do you have experience in? If you are currently not working, how long has it been since your last job? </label></td>
            <td><textarea class="cf_inputbox required" rows="10" id="text_7" title="Field is Required" cols="60" name="background"></textarea></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">Do you know what new field/job you'd like to target?</label></td>
            <td><input value="Yes" title="Field is Required" class="radio validate-one-required" id="radio10" name="radio1" type="radio" /> <label for="radio10" class="radio_label">Yes</label> <input value="No" title="Field is Required" class="radio validate-one-required" id="radio11" name="radio1" type="radio" /> <label for="radio11" class="radio_label">No</label></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">If yes, list here:</label></td>
            <td><textarea class="cf_inputbox" rows="3" id="text_10" cols="60" name="text_10"></textarea></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">What actions have you already taken towards reinventing your career? </label></td>
            <td><textarea class="cf_inputbox required" rows="10" id="text_13" title="Field is Required" cols="60" name="actions"></textarea></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">What are your top 2-3 goals for participating in the Reinvention Action Group? What do you specifically want to accomplish?</label></td>
            <td><textarea class="cf_inputbox required" rows="10" id="text_14" title="Field is Required" cols="60" name="goals"></textarea></td>
        </tr>
        <tr>
            <td><label class="cf_label" style="width: 150px;">What are your biggest difficulties, barriers or fears about reinventing your career? </label></td>
            <td><textarea class="cf_inputbox required" rows="10" id="text_15" title="Field is Required" cols="60" name="barriers"></textarea></td>
        </tr>
<tr><td>Please enter the security image (this helps us keep away spammers).</td><td>{imageverification}</td></tr>
        <tr>
            <td colspan="2" align="right"><input value="Submit" type="submit" /></td>
        </tr>
    </tbody>
</table>
GreyHead 25 Mar, 2010
Hi staephaniegold,

For {fullname} at least it should be {full_name} see name="full_name" in the form html.

Bob
stephaniegold 25 Mar, 2010
It actually reads {fullname}, not the person's name. All other fields come through. For example, this email I got:

Full Name {fullname}
Email Address [email]testing2@gmail.com[/email]
Alternate Email {alternateemail}
Telephone 310-203-8505
City and State la, ca
Are you currently working? Yes
If yes, list current job. If no, list most recent position. sss
Tell us briefly about your career background. How long have you been working; what industries do you have experience in? If you are currently not working, how long has it been since your last job? sss
Do you know what new field/job you'd like to target? Yes
If yes, list here: sss
What actions have you already taken towards reinventing your career? sss
What are your top 2-3 goals for participating in the Reinvention Action Group? What do you specifically want to accomplish? sss
What are your biggest difficulties, barriers or fears about reinventing your career? sss
GreyHead 25 Mar, 2010
Hi stephaniegold,

The input name in the form has an underscore in it and the one in the template doesn't. They have to match exactly.

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

VPS & Email Hosting 20% discount
hostinger