How to get the individual watched field values for AI element

By: Larry Kolinek | Asked: 04/18/2023
ForumsCategory: General questionsHow to get the individual watched field values for AI element
Larry Kolinek asked 1 year ago

Hi, 

https://formidableforms.com/knowledgebase/frm_ai_data/  

 

In the function, add_filter( 'frm_ai_data', 'frm_reduce_ai_temp' );

 

 

function frm_reduce_ai_temp( $data ) {

// currently the questions are just all stuck in this string variable. which is then sent to chatGPT.
// where or how can I get access to the individual watch variables?
// surely there is a way?

// $data['question']

}  

 

 

thanks

Question Tags:
Larry Kolinek replied 1 year ago

this hook works: add_filter( 'frm_ai_data', 'frm_reduce_ai_temp' );

BUT none of the other hooks are being called?

How or why is that happening?
Am i doing something wrong?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right