Hey guys.
How to get all child objects inside of an object.

For example; I have a form and I want to get all the textfields, checkboxes, radio buttons, buttons, etc. with their names and values.

How to do it?