Noob question on forms

Greetings All, new to this forum and somewhat a beginner with Node Red.

I would like to create a UI with fields that the user must fill-in, then compute a resulting value based on the filled-in fields, either automatically or after the user has pressed a "compute" button.

What I am wondering is what the proper way (and not too complex) is to store the values until the compute button is pressed? Should I use context variables or maybe a DB?

Thank you

Context probably easiest, though you may be able to hold them in a join node until a complete / submit is sent - and then process them all in one go to create the result.

Ah thank you, I did not know the join node. I will try it out right away