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.

Wordpress Widget Text Inside Field

  1. I'm working on the site here: http://dochopkins.datacomplete.com/ this is a wordpress site.

    I would like to streamline the form so that the field name is inside of the field itself, same for email and phone. The user would click on the field with the name in the field and then the name would go away they'd be able to add their information. You can call it placeholder text. I'd prefer to have just one form, and use the widget option for the sidebar.

    Also, how do i do a conditional, if the user fills in the last field, then automagically there are more questions that can be asked. This would all be part of the same form, but only show the first part of the form fields and when the user gets further down the form there are additional fields to fill out.

    Posted 7 years ago on Monday September 10, 2012 | Permalink
  2. I have a similar question, but mine relates to using the newsletter opt in a widget area that is not connected to theme itself.

    I am using http://www.marketercms.com and trying to use GravityForms widget on homepage above testimonials bar...

    http://www.dumpthatdebt.com

    Any suggestions?

    Taylor
    p.s. Yost plugin doesnt work. and adding the shortcode to the testimonials side bar file via the editor just shows the short code plain as text... ?

    Posted 7 years ago on Saturday September 15, 2012 | Permalink
  3. Also, how do I get the actual html syntax code (raw) for the form - in case I want to drop it in raw (not as a shortcode)

    Taylor

    Posted 7 years ago on Saturday September 15, 2012 | Permalink
  4. @taylorr, please begin a new topic for each of your individual issues. It's difficult to give everyone individual support when there are multiple unrelated issues in one topic. Thank you.

    Posted 7 years ago on Saturday September 15, 2012 | Permalink
  5. @bczubiak, for your first question, placeholder text is not yet included in Gravity Forms. It's a feature of HTML5. For now, you can add the functionality in a couple different ways:

    http://www.wduffy.co.uk/jLabel/

    http://www.gravityhelp.com/forums/topic/heres-how-to-add-placeholder-functionality-which-works-with-ajax-validation

    http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/

    Posted 7 years ago on Saturday September 15, 2012 | Permalink
  6. For your second question, conditional logic is built in to Gravity Forms. It does not work strictly like you described it (it requires a drop down, check box or radio button to reveal more input fields) but you can accomplish what you need.

    Here is a description of the conditional logic feature:
    http://www.gravityforms.com/features/conditional-logic/

    Posted 7 years ago on Saturday September 15, 2012 | Permalink
  7. I found this plugin that works really well. Gravity Forms - Placeholders add-on You can download it here: http://wordpress.org/extend/plugins/gravity-forms-placeholders/

    To use, just add "gplaceholder" the the CSS Class Name in the Advanced option for each field you want the placeholder text to appear.

    Posted 7 years ago on Wednesday September 19, 2012 | Permalink
  8. Thank you for posting that link. I think that will be useful to many people.

    Posted 7 years ago on Thursday September 20, 2012 | Permalink

This topic has been resolved and has been closed to new replies.