get data from a form
-
Hello,
Yersterday, you gave me this solution to get data from a poll.
<?php $polls = Forminator_API::get_polls(); foreach ( $polls as $poll ) { $chart_data = forminator_get_chart_data( $poll ); }
It works good, but when I try to apply this solution to a form, I have this error :
Fatal error: Uncaught TypeError: Argument 1 passed to forminator_get_chart_data() must be an instance of Forminator_Poll_Form_Model …Is there an equivalent function to forminator_get_chart_data() for a form ?
Sorry to ask a trivial question but there is no documention about how to extract data from forminator.
thx
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get data from a form’ is closed to new replies.