Can I submit in the same task form a created json array and a string variable?

Hi to all.

I would like to ask if I can submit in the same task form (which is embedded) a created json array and a string variable.
I 've already created the json array and I want to create an additional variable (of type string) which is going to be a URL input form field value.

Thank you,
Steve