How can I get the values of all visible fields in a form (with several fields) and set them in a array or something else? After I would like to get these values from the array and set them to the visible fields in the same form (such as a clear and undo function of a form)?
My form has several select-fields, text-fields, textarea-fields and hidden-fields.
Thanks for your help!