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.

Building a custom post editor

  1. baereli88
    Member

    Hi

    I use Wordpress as an address directory. The addresses are stored as posts. Now I would like to give the address "owner" the possibility to update his address without having to register an account on my Wordpress.

    Is it basically possible to build a Gravity form, which populates its fields with data from an existing post and updates this posts data by submitting the form? The form sould have two pages/steps: the first with the post fields and populated with post data, the second will show only an input field in which the user has to enter an authentication code which was sent via SMS to his cell phone.

    If it's possible can you give me some tipps how to do it.

    Richard

    Posted 8 years ago on Wednesday February 16, 2011 | Permalink
  2. Hi Baereli, this will be a pretty involved customization, but here are a few pointers to get started.

    You can auto populate the form using the gform_pre_render hook. Here is an example of how that works: http://pastie.org/1571935

    After the form has been submitted you can use the gform_post_submission hook to get the submitted values and do whatever you need to with them. Here is an example of this hook: http://pastie.org/1571939

    There is much more that would need to happen, but in regards to actually hooking into Gravity Forms, this should be all you'll need. Good luck!

    Posted 8 years ago on Wednesday February 16, 2011 | Permalink
  3. baereli88
    Member

    Hi David

    Thanks a lot. I'm sure that this will help me further.

    Cheers Richard

    Posted 8 years ago on Wednesday February 16, 2011 | Permalink

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