_addFormData

Convert form data into js variable

Parameters
string $name

The form name or scope name

#
array $data

Array of data

#