We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12584
    • 208 Posts
    I would like to add an extra field to the default form called location but for some reason the data does not get sent. heres what i have done

    IN my contact form chunk i now have this for the new field
    <label for="cfLocation">Your Location:
    		<input name="name" id="cfLocation" class="text" type="text" eform="Your Location::1:" /> </label>


    My contact form report chunk now looks like this
    <p>Name: [+name+]</p>
    <p>Location: [+Location+]</p>
    <p>Email: [+email+]</p>
    <p>comments:<br />[+message+]</p>


    NOt to sure where I am going wrong I can see the name location in the sent email but the value filled in on the form does not get sent just blank.

    Thanks

    Ian
      • 4310
      • 2,310 Posts
      <input name="name" id="cfLocation" class="text" type="text" eform="Your Location::1:" /> </label>
      Try changing to :
      <input name="Location" id="cfLocation" class="text" type="text" eform="Your Location::1:" /> </label>
        • 12584
        • 208 Posts
        Yes that fixed it I see what I missed after my copy and paste.

        once again thank you very much

        smiley
          • 4310
          • 2,310 Posts
          We’ve all done it wink