Support » Plugin: Jetpack by » Custom Contact Form Radio Button – mark more than 1

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jeremy Herve


    Jetpack Mechanic

    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.

    Maybe my question was written correctly.

    Here is my contact form:

    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
    √ Nightlife

    But the above is not possible, it only lets the user select 1.

    Plugin Author Jeremy Herve


    Jetpack Mechanic

    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:

    thanks Jeremy, I got it all working swanky now!

    @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 :

    thanks for your time

    Plugin Author Jeremy Herve


    Jetpack Mechanic

    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:

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

    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.

    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”

    Plugin Author Jeremy Herve


    Jetpack Mechanic

    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:

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom Contact Form Radio Button – mark more than 1’ is closed to new replies.