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.

Pre_Render Question -

  1. Does the pre_render filter support multiple functions in the same instance?

    I am trying to return results to two separate drop downs on the same form with separate ID's.

    Dropdown1 - will retrieve XXX data from DB
    Dropdown2 - Will retrieve YYY data from DB

    Posted 11 years ago on Thursday June 27, 2013 | Permalink
  2. I think I have it, VERY close however the results always return the same.

    The sql statements
    $cbc_q returns results where the id number = 0
    $cbc_r returns results where the id number > 0

    In the form, both field id3 and id 21 return the $cbc_q results. Any ideas?

    http://codepad.org/OHwVtlKo

    Posted 11 years ago on Thursday June 27, 2013 | Permalink
  3. Is this forum for help or just for basic issues? Maybe I'm in the wrong place. Got it.

    foreach($form["fields"] as &$field){
    if($field["id"] == 3){
    $field["choices"] = $cbcchoices;
    }
    }
    foreach($form["fields"] as &$field){
    if($field["id"] == 21){
    $field["choices"] = $cbcabcchoices;
    }

    Posted 11 years ago on Thursday June 27, 2013 | Permalink
  4. David Peralty

    I'm glad you figured it out. It can be upwards of 48 hours before a response on the forums. Please read the following: http://www.gravityhelp.com/support-times/

    Posted 11 years ago on Thursday June 27, 2013 | Permalink

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