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.

prefill multiple values

  1. lerizzle
    Member

    This is probably more of a php question.... I want to prefill a form with values I query from the database. So I've been reading a few examples on how to do this: http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields for example.

    Now the filter calls a function at every field. I don't want to query the database every time I call the function. How should I structure this? Should I just look into query caching? Should I store the result in a GLOBAL and see if it exists? What would be the best approach to just having to do 1 query?

    Posted 12 years ago on Tuesday January 24, 2012 | Permalink

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