File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Gravity Perks // GravityForms-OpenAI // Add support to populate fields with Open AI generated values.
4- *
3+ * Gravity Perks // GravityForms-OpenAI // Add support to re-populate fields with Open AI generated values.
54 * https://gravitywiz.com/
6- *
5+ *
76 * Requires 1.0-beta-1.2; or newer of Gravity Forms OpenAI.
7+ *
8+ * Instruction Video: https://www.loom.com/share/341ab02ca790461fa852eda2f8e95fbc
89 *
9- * Instructions:
10- * - Install using https://gravitywiz.com/gravity-forms-custom-javascript/
10+ * Instructions: https://gravitywiz.com/documentation/how-do-i-install-a-snippet/
1111 */
1212// Replace 342 with the form id, and 3 with the targetted field id.
13- add_action ( 'gf_openai_post_save_result_to_field_342 ' , 'gw_openai_post_save_result ' );
13+ add_action ( 'gf_openai_post_save_result_to_field_342 ' , 'gw_openai_post_save_result ' );
1414function gw_openai_post_save_result ( $ result ) {
1515 $ _POST ['input_3 ' ] = $ result ;
1616}
You can’t perform that action at this time.
0 commit comments