gform_price_change

gform_price_change

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 ) {
?>

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注