DescriptionUsageParametersExamplePlacementSinceSource Code
Description
JavaScript action hook that triggers when any pricing field is modified.
Usage
Parameters
event Event Object
Default JS event object.
productIds object
The form id and the id of the product field.
htmlInput string
The HTML input field.
Example
This example uses the gform_pre_render filter to load the hook.
add_action( 'gform_pre_render', 'do_price_stuff' );
function do_price_stuff( $form ) {
?>