DescriptionUsageParametersExamples1. Bind Event To List Item InputPlacementSource Code
Description
The 「gform_list_post_item_add」 JavaScript action in Gravity Forms is fired after a new item is added to a List field, allowing further actions to be performed.
Usage
123gform.addAction( 'gform_list_post_item_add', function ( item, container ) { // do stuff} );
Parameters
item Javascript Object
The List Field table row.
container Javascript Object
The List Field table.
Examples
1. Bind Event To List Item Input
This example shows how you can bind a change event to the new list item input.
1234567
Placement
Your code snippet can be placed in a HTML field on your form or in a theme custom JavaScript file.
Source Code
This filter is located in js/gravityforms.js