With 14 fields, I’d probably use JavaScript for this personally, to keep it simpler and cleaner, but you can do it in vanilla Bubble if you prefer, with the following method.
Have 3 groups to act as variables, all of type ‘number’
The first one is the total number of input (i.e. a static value of 14)
The second one is the count of completed inputs, and the datasource for this is just each input’s value is not empty: formatted as number (where the number for yes is 1 and the number for no is 0) + the same for each other input.
e.g.
input 1's value is not empty: format as number + input 2's value is not empty: format as number + input 3's value is not empty: format as number + input 4's value is not empty: format as number
And the third variable is for the incomplete fields - which is the total number of fields minus the completed fields.
1 Like