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.

CSS Question, Pre-populated Forms Question

  1. Hello GF Team!

    I am completely new to GF. Bought this yesterday.

    1. To get started, I was trying to replicate MadLib form (http://www.rocketgenius.com/gravity-forms-mad-lib-style-form-demo/). I downloaded then imported XML file, but not sure what to do with attached CSS files. Where do I place them?

    2. Can you orient me to a documentation or links that will teach me how to construct a form that collects info (name, telephone, address, etc), will allow user to register into WordPress (I have addon), and then the next time the user (when he is logged in) goes to a form, it get pre-populated with editable fields for name/telephone/etc. So the user can edit them if they changed, otherwise they stay prepopulated from his previous visit.

    Thanks!

    Posted 9 years ago on Friday September 21, 2012 | Permalink
  2. The CSS rules should be added to your theme's style.css or possible custom.css. Wherever your theme provider wants you to add custom CSS rules, that's where these go.

    For prepopulating fields with information from a logged in user, look at the field in the form builder and on the advanced tab there will be a "default value" and an "insert merge tag" drop down. There you will find all the meta values for the logged in user. Select one of those to pre-populate the user's information.

    {user:display_name}
    {user:user_email}
    {user:user_login}
    Posted 9 years ago on Saturday September 22, 2012 | Permalink
  3. What if I don't want to display some previously entered fields to logged in users? But I still want to have a place where they can go and edit this information if they need to. Say I collect address, phone number, and I charge for guest post. Next time I just want to show them guest post fields. How do I do that? And where do I send them if their phone number changed? (i.e. WP user profile page does not contain advance fields like phone number.)

    Posted 9 years ago on Saturday September 22, 2012 | Permalink
  4. Gravity Forms does not have a mechanism for allowing users to go back and edit their entries. However, it sounds like you are collecting mostly user profile data. In that case, you probably want to display that data to the user, or at least allow them to edit their profile information? It sounds like you will need to extend the user's profile page. Here are a couple explanations of how that can be done:

    http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields
    http://chriscarter.org/removing-and-adding-meta-fields-from-profile/

    Gravity Forms will collect the data, but after that, it's up to you what you do with it.

    Posted 9 years ago on Sunday September 23, 2012 | Permalink