PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Tooltip Confirmation Message

  1. I am setting up a form inside the footer widget using a tooltip display. I am wanting to use the shortcode for my form (Gravity Forms) instead of coding a form.

    The form does show and sends but it does not display the "Confirmation Message". Upon Submitting the tooltip closes and when you mouse over presents the Confirmation Message, instead of the form again. I feel this is someway Ajax related but do not know how to precede.

    Parameters
    > Footer Widget
    > Tooltip to display "Form" Shortcode
    > Sample Page of current setup: http://www.nonprofit-software.co/education/
    -- Cell Phone Footer Image
    > Form Tool: Gravity Forms
    > Theme: Dejavu by http://www.mysitemyway.com

    Code:
    [tooltip custom_id="image1" width="450" position="top" close="true" trigger='<img alt="" src="https://s3.amazonaws.com/nonprofit-solutions/icon-call-me-now.jpg" class="framed"/>']
    [gravityform id="1" name="Call Me Now" ]
    [/tooltip]

    Below are the code changes I made to get it to work in part.

    I updated my theme " /lib/shortcodes/13-tooltips.php" :
    Modified this,
    echo '<div id="' . $tip_load . '" class="tooltip_load"' . ( !empty( $textcolor ) ? ' style="color:' . $textcolor . ';"' : '' ) . '>' . $content . '</div>';

    Changed it to this:
    echo '<div id="' . $tip_load . '" class="tooltip_load"' . ( !empty( $textcolor ) ? ' style="color:' . $textcolor . ';"' : '' ) . '>' . do_shortcode($content) . '</div>';

    Modified this:
    echo '<div id = "custom_tooltip_content'.$custom_id.'" class = "tooltip_load">'.$content.'</div>';

    Changed it to this:
    echo '<div id = "custom_tooltip_content'.$custom_id.'" class = "tooltip_load">'.do_shortcode($content).'</div>';

    Thank you
    Joe Johnson
    jjohnson@n-ppi.com

    Posted 11 years ago on Wednesday May 9, 2012 | Permalink
  2. Try activating AJAX on your form call. It doesn't look like it's using AJAX.

    http://www.gravityhelp.com/documentation/page/Embedding_A_Form

    Posted 11 years ago on Wednesday May 9, 2012 | Permalink
  3. I will try and let you know. Thank you. Joe Johnson

    Posted 11 years ago on Wednesday May 9, 2012 | Permalink