Extracts all input, select, and textarea values from form element into operation data.
This operation reads form field values and returns them as an object with field names as keys.
Only processes form elements that are enabled and not hidden. Handles checkboxes, radio buttons,
select elements, textareas, and text inputs.
Returns
Operation data with formData object containing field values
Example
// Given a form with fields: name="John", email="john@example.com" constresult = getFormData({selectedElement:$form}); // Returns: {selectedElement: $form, formData: {name: "John", email: "john@example.com"}}
Extracts all input, select, and textarea values from form element into operation data.
This operation reads form field values and returns them as an object with field names as keys. Only processes form elements that are enabled and not hidden. Handles checkboxes, radio buttons, select elements, textareas, and text inputs.