Title: Populating Form Fields
Last modified: August 12, 2018

---

# Populating Form Fields

 *  [ivitae](https://wordpress.org/support/users/ivitae/)
 * (@ivitae)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/populating-form-fields/)
 * I would like to create a form for front-end editing of posts (actually a custom
   post type). In order to do so, when opening the page where the form is shown,
   I need to populate the form fields with the values of the specific post to be
   edited.
 * Is there some event/filter I can use when the form loads to get the post data
   from the database and populate the form fields accordingly via code ? Or is there
   some other way this can/should be done ?
 * I am aware of the caldera_forms_render_get_field filter, however this is per 
   field while I am looking for something in the form level.

The topic ‘Populating Form Fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ivitae](https://wordpress.org/support/users/ivitae/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/populating-form-fields/)
 * Status: not resolved