Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Fisher 3 posts 23 karma points
    Feb 17, 2010 @ 20:04
    Chris Fisher
    0

    How do I add a field to the contact form?

    I'm new, any help would be greatly appreciated.  Thank you!

    Chris

  • Kim Andersen 1447 posts 2197 karma points MVP
    Feb 17, 2010 @ 20:10
    Kim Andersen
    0

    Hi Chris

    You need to be a bit more precise, and describe your question in more details.

    /Kim A

  • Chris Fisher 3 posts 23 karma points
    Feb 17, 2010 @ 20:12
    Chris Fisher
    0

    I want to add a check box for people to sign up for my newsletter in the contact form.  It's at www.westagegreaterdetroit.com if you want to take a look.  It's just the standard contact form and I cannot see how to add a field.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 17, 2010 @ 20:19
    Dirk De Grave
    2

    Chris,

    You're using Doc2Form for the contact form. All you need to to then is add an extra True/False property on the document type that defines the contact form. From what I can see (using ?umbDebugShowTrace=true), you need to find a document type which already has all properties as can be found now on the contact form (Name, Company Name, Street Address, City, ...) and add the extra property (as said, of True/False datatype) and Doc2Form will take care of rendering the field in the contact form.

     

    Hope this helps.

    Regards,

    /Dirk

  • Kim Andersen 1447 posts 2197 karma points MVP
    Feb 17, 2010 @ 20:21
    Kim Andersen
    0

    How did you create the contact form Chris? Do you use Contour, or have you created the form yourself?

    If you have created the form yourself in HTML, you can just insert a checkbox by adding it like this:

    <input type="checkbox" />

    And you can give the checkbox a class, or an id. If you created the form with Contour, it's pretty easy to just insert another field in the bottom or where you want to place it.

    /Kim A

  • Kim Andersen 1447 posts 2197 karma points MVP
    Feb 17, 2010 @ 20:27
    Kim Andersen
    1

    Ahh Dirk's answer is great, and I'm to slow. I didn't know that the Doc2Form was used :)

     

    By the way Chris, you have  more than 3.500 meta keywords. That is waaay to much. First of all the search engines (Google, Yahoo, Bing etc.) doesn't even use the keywords, and if they did, or if they will do in the future, 3.500 words is still to much. You could keep a couple of those words if you want to, but it's overkill to have more than 5 or 6 words in there.

    That wasn't related to you question at all, but I just wanted you to know ;)

    /Kim A

  • Chris Fisher 3 posts 23 karma points
    Feb 17, 2010 @ 20:30
    Chris Fisher
    0

    Thanks for all the answers!

    Thank you Kim A., I just began updating this site, so I haven't taken care of all those bugs yet.  I did notice the alarming amount of keywords and I'll take care of it.   : )

  • Kim Andersen 1447 posts 2197 karma points MVP
    Feb 17, 2010 @ 21:33
    Kim Andersen
    0

    You are very welcome Chris.

    Remember to mark an answer as the solution if you had your question aswered. If not, I'm sorry, just wanted to mention it since you are new in here :)

    /Kim A

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies