Forum Discussion
_anomDiebolt_
13 years agoQrew Elite
You can't do this with QuickBase formulas because there is no looping or counting construct.
It is simple to do with script. If your multiline text field was fid=6 and the numeric counting field was fid=7 you could use this code with the image onload technique to do the job:
$("#_fid_6").on("change",function(){ $("#_fid_7").val($(this).val().split("\n").length)});
It is simple to do with script. If your multiline text field was fid=6 and the numeric counting field was fid=7 you could use this code with the image onload technique to do the job:
$("#_fid_6").on("change",function(){ $("#_fid_7").val($(this).val().split("\n").length)});