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.

$_POST and function calls with gform_post_paging

  1. So I am attempting to do a slightly more complicated calculation (nothing spectacular, just not simple enough to work with the built in functionality)

    I am trying to build a form for magazine subscriptions the prices are fixed for the individual magazines and also for multiple magazines

    What I am trying to do is take the user chosen magazine and calculate the name and price on the fly for the product fields.

    Here is the current url: http://www.wa-mag.com/test
    I included a dump of the $_POST variable as well as a print function for the two functions that I included in this pastie: http://pastie.org/2742708

    With ajax turned off I have access to the $_POST variable on the 2nd page but it isn't populating the form. I am wondering at this point if I am just going to have to make a jQuery watchdog to make the calls for me and manipulate the values or if I just simply don't properly understand what is available/how to implement the gform_post_paging hook.

    Any help would be appreciated

    Posted 13 years ago on Saturday October 22, 2011 | Permalink