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.

php in html content area

  1. boala
    Member

    hi,
    How can i use PHP in html content area ???
    I want to track the visitors for each step of my form.. and for that i will have to write some php code to calculate the number of visitors on each step..
    thanks

    Posted 12 years ago on Tuesday December 27, 2011 | Permalink
  2. No, the PHP won't be executed.

    For tracking on a multi-page form you might want to use the gform_post_paging hook and fire some code from your functions.php to track your visitors.

    Posted 12 years ago on Tuesday December 27, 2011 | Permalink
  3. boala
    Member

    And where to paste this

    add_action("gform_post_paging", "page_changed", 10, 3);
    Code ??

    Posted 12 years ago on Wednesday December 28, 2011 | Permalink
  4. You should be able to place that into your functions.php file of your theme.

    http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F

    Posted 12 years ago on Wednesday December 28, 2011 | Permalink