How to save form from UI into Local

Hello colleagues, I want to ask how to save the form that has been filled out by the user to a local disk, as pdf / etc