• I have a form, Form ID 10 created in Gravity Forms. I am attempting to use this jquery dropdown in place of the regular dropdown. I’m very novice to Java Scripting, so bear with me.

    I’ve named the dropdown to match the class called in the JQuery, and I’m seeing it in the <head> section, but the drop down still isn’t working.. I’m so stumped.

    add_action( 'gform_enqueue_scripts_10', 'enqueue_dropdown_script', 10, 2 );
    
    	function enqueue_dropdown_script( $form, $is_ajax ) {
    
    		wp_register_script( 'jquery-dropdown', get_stylesheet_directory_uri() . '/js/jquery.dropdown.js', array( 'jquery' ) );
    		wp_enqueue_script( 'gform-jquery-dropdown', get_stylesheet_directory_uri() . '/js/gravityforms.dropdown.js', array( 'jquery', 'jquery-dropdown') );
    
    	}

    How do I get that JQuery drop down to work on my gravity form?

  • The topic ‘[Plugin: Gravity Forms]’ is closed to new replies.