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.

OpenHouse Real Estate Theme

  1. The developer for OpenHouse Real Estate Theme recommends Contact Form 7 for use with his theme. When I try to substitute the gravity form shortcode for the Contact Form 7 shortcode, nothing displays where the form should be. The only thing special the theme does with Contact Form 7, is to automatically populate the subject field with the property address. I really hate using any other contact form than Gravity Forms so it would be nice if you could tell me how to fix this. My dev URL is http://amhsfl.boundlessdata.net/listing/233-ferndale-lane/. The contact form should appear under the agent information in the bottom right section of the listing.

    Thanks,

    Tina

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  2. Are you using the shortcode in the content editor, or are you talking about the php function call added directly to the page template. I see your form in the page markup and that it has conditional logic enabled, but the necessary scripts and CSS aren't being enqueued in your theme.

    If you're using the php function call method to add your form directly to a page template (php file) then you need to manually enqueue your scripts as detailed in the documentation here.

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

    Once the scripts are enqueued on the page properly, the form should show up for you.

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  3. If I turn off conditional logic, it works with a couple of issues. First, it no longer populates the Subject field with the property listing address. This means the agent will not be able to tell which property the person is talking about. Second it has a strange duplicate empty field at the bottom that says something to the effect of "this field is for validation purposes and should remain unchanged". I'm not sure what that is about. Anyway, what's your opinion. Am I going to have to suffer with Contact Form 7 to get this to work the way it was intended?

    Thanks,

    Tina

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  4. I figured it out! I added the embed URL to the notification. Now all I need to figure out is why there is a weird validation field showing up at the bottom of the form.

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  5. I see someone else had this problem with the honeypot turned on but there is no answer: http://www.gravityhelp.com/forums/topic/undisired-field-occur

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  6. I found where you posted this as the solution for someone else. I added .gform_wrapper .gform_validation_container {display:none!important} to the style.css. The honeypot field no longer shows up but the bullets next to the form fields are still there. I can live with that unless you have a quick answer for it.

    Thank you,

    Tina

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  7. Well, if you enqueue your form scripts and CSS properly like I suggested earlier, you wouldn't have to disable conditional logic or to add fixes for the honeypot field. Those are covered in the CSS and scripts that get loaded. You're doing a lot of work you don't really need to.

    Also, the bullet issue is covered in the FAQ here if you still have problems with it after the default forms styles get loaded properly.

    http://www.gravityhelp.com/question/why-is-my-form-showing-up-with-list-bullets/

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  8. Well I'm sorry, I don't know what you mean by "enqueue your form scripts and CSS". When I'm done, I will have a contact form for each agent. There is a section in the back end for creating agents. In the form, there is only room for a shortcode. I tried putting this code into the header.php but it didn't work. The honeypot field is back and the bullets are still there. So please be more specific about what I need to do.

    Thank you,

    Tina

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  9. I forgot to past the code

    [php]
    <?php
    gravity_form_enqueue_scripts($form_id, $is_ajax);
    ?>

    If I have to enter the actual form id, can I enter one for each of 20 agent forms?

    Posted 12 years ago on Sunday October 9, 2011 | Permalink
  10. The issue is your theme isn't put together in a standard way so as Kevin mentioned if you are using the Gravity Forms shortcode, it's unable to automatically enqueue the necessary CSS and scripts because of this. This will also occur when using the form function call itself directly in a theme template file.

    This isn't a limitation of Gravity Forms, it's a limitation of how WordPress functions. Shortcodes can only enqueue scripts at certain points in the WordPress page execution cycle, and this theme is put together in such a way that it can't do so.

    Before we determine how you can correct this, the first question I have is why do you need a unique contact form for each Agent? You should be able to use one Form and then if you need to dynamically populate fields with listing or agent information you should be able to do so. Can you provide me with more details and examples of what you are trying to accomplish?

    Posted 12 years ago on Monday October 10, 2011 | Permalink