Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook allows you to manipulate the limit of the form actions. There is a limit of 99 actions on a single form by default.
Usage
add_filter('frm_form_action_limit', 'frm_increase_form_action_limit');
Parameters
- $limit (string)
Examples
Increase limit of form actions
add_filter('frm_form_action_limit',
function( $limit ) {
return 200; //Change 200 to your limit
}
);
Increase quiz outcome form action limit
Use this code example to increase the Quiz outcome action limit to 200.
add_filter('frm_quiz_outcome_action_options', 'increase_quiz_outcome_limit');
function increase_quiz_outcome_limit( $options ) {
$options['limit'] = 200; //Change 200 to your limit.
return $options;
}
add_filter('frm_form_action_limit',
function( $limit ) {
return 200; //Change 200 to your limit
}
);
Increase confirmation form action limit
Use this code example to increase the Confirmation action limit to 200.
add_filter('frm_on_submit_action_options', 'increase_confirmation_action_limit');
function increase_confirmation_action_limit( $options ) {
$options['limit'] = 200; //Change 200 to your limit.
return $options;
}
add_filter('frm_form_action_limit',
function( $limit ) {
return 200; //Change 200 to your limit
}
);