bradvin/gravity-forms-custom-post-types

Integration with gravity+ Dynamic Population Pro

Opened this issue · 0 comments

When trying to use this CPT addon with gravity+ DPP I am getting JS Errors:

It only seems to appear in the UI if I add a Standard Field Dropdown, at which point it "duplicates" my DPP source settings to the Standard Field also. The great part is that it does appear in the Edit Form UI though.

Screenshot of UI Appearing, (Standard Field required not shown)
Screenshot of UI Appearing

Screenshot of UI more commonly not appearing
Screenshot of UI more commonly not appearing

Typical Console Logs

[!] TypeError: field.dynamicChoice is undefined	  >>  	dynamic-choices.js:722:53
SetDynamicChoiceConditionalLogic	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:722:53
gfp_dynamic_choices_reset	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:211:5
ToggleDynamicChoicesSettings	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:315:5
gfp_enable_dynamic_choices_actions	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:274:2
dispatch	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:12392
add/r.handle	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:9156


[!] TypeError: table_columns is undefined	  >>  	dynamic-choices.js:507:22
gfp_dynamic_choices_wpdb_get_column_options_html	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:507:22
gfp_dynamic_choices_wpdb_load_columns	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:484:69
<anonymous>	  >>  	http://testwp2.io/wp-content/plugins/gravityplus-dynamic-population/includes/form-editor/js/dynamic-choices.js:84:25
dispatch	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:12392
add/r.handle	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:9156
trigger	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:11571
jQuery.event.trigger	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery-migrate.js:633:9
trigger/<	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:18983
each	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:2:2879
each	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:2:844
trigger	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:18962
LoadFieldSettings	  >>  	http://testwp2.io/wp-content/plugins/gravityforms/js/form_editor.js:1018:5
FieldClick	  >>  	http://testwp2.io/wp-content/plugins/gravityforms/js/form_editor.js:2380:9
InitializeForm/<	  >>  	http://testwp2.io/wp-content/plugins/gravityforms/js/form_editor.js:493:65
dispatch	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:12392
add/r.handle	  >>  	http://testwp2.io/wp-includes/js/jquery/jquery.js:3:9156

@wpsmith @spivurno @bradvin @naomicbush any ideas? need more info?