Hello,
I have a 'contact' Gravity form inserted and functioning perfectly, but it was inserted into a page/post. I have a 'tell-a-friend' form created and need to have it pull up when I click on an image (link) that tells you to email a friend. The problem is, this 'email a friend' link opens up an overlay that is coded with a cform II. Cforms (originally coded from the purchased theme) just isn't working for me and I want to remove it and insert the Gravity form.
So...the issue is that I know nothing about PHP, etc., but I do know what file the cforms is pulling from, I just don't know what code/function to use to make it pull the correct Gravity form. It's nothing that I can insert into a post or page. The code below shows how it's currently pulling the cforms plugin:
<div id="emailoverlay" class="overlay largeoverlay">
<h2><?php echo $OPTION['wps_email_a_friend_title']; ?></h2>
<p><?php echo $OPTION['wps_email_a_friend_text']; ?></p>
<?php
if(function_exists('is_tellafriend')){
if(is_tellafriend( $post->ID )) insert_cform(2);
} else {
echo "
<p></p>
";
Any suggestions?
Thanks -