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.

Update: Pre-populating form without query var

  1. I'm doing something similar to the following post: Need Help Creating an Edit Form.
    I'm essentially working on creating a Graduate directory for a Yoga College and I want them to be able to login (I'm currently using WPMU Dev's Membership plugin) and edit their profile at anytime they want. I'm already aware of the Gravity Forms Directory + Add-Ons plugin, but it doesn't work exactly as I'd like and would prefer to do it myself to have better control over the display/output.

    Update
    Finally figured out how to get the user's entry without submitting the lead through a query var. Posting here for other people that may need it. Important things to note: this code is for a form locked behind a membership gateway which means that the person has to login to access the form ($global $current_user; and get_currentuserinfo() won't work for non-members). I also set the "e-mail" field to be unique so that the person couldn't accidentally submit more than one copy of the form.

    Pastie has full code here: http://pastie.org/3018442

    Posted 12 years ago on Wednesday December 14, 2011 | Permalink
  2. Thank you for posting your experience. I'm sure that will help someone in the near future.

    Posted 12 years ago on Thursday December 15, 2011 | Permalink

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