Append data to convertToData method


#1

how to add more data to formdata using convertToData method?
For example.

var formData = app.form.convertToData(form);

formData.append(‘name’, ‘John Doe’);


#2

Returns an object. Try:
formData.name = 'John Doe';


#3

Thank you men, it works!