WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Custom Contact Form Radio Button - mark more than 1 (10 posts)

  1. lukeratto
    Member
    Posted 1 year ago #

    How do I allow users to mark more than 1 radio button for a specific question, using Jetpacks Custom Contact Form?

    example:
    Mark All That I Apply:
    0 I like cake
    0 I like pie
    0 I like milk

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You could probably use 3 different checkboxes for such actions: they seem to be more appropriate for multiple choice questions like this one.

    Let me know if this helps.

  3. lukeratto
    Member
    Posted 1 year ago #

    Maybe my question was written correctly.

    Here is my contact form:http://www.endlessturns.com/contact-us/

    I want to be able to let users check more than one answer for the question,

    Which Activities Interest You?
    √ Resort Skiing & Snowboarding
    √ Backcountry Skiing & Snowboarding
    Hiking & Climbing
    √ Mountain Biking & Bicycle Touring
    Rafting
    √ Nightlife

    But the above is not possible, it only lets the user select 1.
    THANK YOU FOR YOUR TIME AND HELP

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Here is how I would do it with Checkboxes: try adding the following contact form code to your page and let me know how it goes:

    http://i.wpne.ws/LByJ

  5. lukeratto
    Member
    Posted 1 year ago #

    thanks Jeremy, I got it all working swanky now!

  6. lukeratto
    Member
    Posted 1 year ago #

    @Jeremy any way to add a shortcode to the custom form (using in sidebar widget) to track the page/post it was sent from - sending me that page/post title in the email?

    After form is submitted from user, can I assign a custom landing page?

    Is there a page right up regarding all of Custom Form shortcodes, tips, tricks? As I hate wasting your time - but I couldn't seem to find any other than the basics here : http://jetpack.me/support/contact-form/

    thanks for your time

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    When using the custom form in a sidebar widget, you won't be able to track the page/post a feedback was sent from.
    You cannot assign any custom Landing page either.

    Our support documentation lists all the current uses of the Contact form:
    http://jetpack.me/support/contact-form/

    Is there anything else you'd like to see added to Jetpack Contact Forms in the future?

  8. lukeratto
    Member
    Posted 1 year ago #

    Thanks Jeremy,

    TOTALLY would love to see the sidebar Custom Contact Form send info back from the page/post it was sent from & a custom landing page/message option.

    Many thanks for the reply and your time.

  9. lukeratto
    Member
    Posted 1 year ago #

    still trying to figure out how to adjust the php so that the sent email subject, by default sends the page/post title as opposed to the website name or defined subject name.

    how would I adjust the code - assuming it's around - line #509 on grunion-contact-form.php

    $default_subject = "[" . get_option( 'blogname' ) . "]";
    if I was able to define the post title in the 'blogname' spot I think it would work.. but by using the below code it does not -- obviously as you read it your going to shake your head at my php ignorance

    so that ('blogname') is (<?php single_post_title(); ?>)

    right now the default subject of the email just says "[the website name] Sidebar"

  10. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I wouldn't recommend making changes to the plugin code; it will be overwritten each time you update the plugin.

    Adding the post title to the email is also going to be difficult when the contact form is in the sidebar, outside of the post loop.

    You can find more information about this in our related changeset:
    http://plugins.trac.wordpress.org/changeset/623875/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic