I am currently working on creating a form with dynamic fields in order to generate a JSON format for posting. The challenge lies in the structure of the JSON, particularly with the "envname" and "value" fields which need to be dynamically added based on user input.
My main hurdle is integrating these dynamic fields with regular fields within the same scope. I have attempted various methods but cannot seem to get everything to work together seamlessly.
If you would like to take a look at my progress so far, please visit http://jsfiddle.net/q9dcn7wj/3/. Currently, the cpu and ram fields are being ignored when I make changes to the code.
Any suggestions or guidance on how to properly submit the entire form as JSON would be greatly appreciated.