Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/crocoblock/jfb-is-valid-inputs-field/archive/refs/heads/master.zipAn addition to JetFormBuilder that registers a new statement for the conditional block, as well as a new Field Value for the Hidden Field.
In the conditional block, you will be able to display the blocks if all the fields are filled in correctly. In this case, the value 1 will be in the hidden field.
Warning!
The state of the conditional block or the value in the hidden field depends on all the fields in the form, regardless of whether there are step-by-step filling (multistep) in it.
Conditional Block Usage
Add a conditional block with the following condition

And we will get the following result:


Hidden Field Usage
Add a hidden field with this setting

In your Calculated Field, you can write something like this formula
%is_valid% ? %first_field% + %second_field% : 0
And we will get the following result:

