Hello,
On a Request I have a field called Budget, it seems to be a HP value.
And I want to limit the maximum number a user can input are 6 digit, or the maximum number 999.999 €
How can I do that?
Regards,
Bernardo Barradas
Hello,
On a Request I have a field called Budget, it seems to be a HP value.
And I want to limit the maximum number a user can input are 6 digit, or the maximum number 999.999 €
How can I do that?
Regards,
Bernardo Barradas
Hi,
Please use this PHP snippet:
add_filter(
'hivepress/v1/forms/request_update',
function($args, $form){
$args['fields']['budget']['max_value'] = 999.99;
return $args;
},
1000,
2
);
Please note that it can require further customization.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.