How can i capture complete form data into json like as below

you need to use the “on change” workflow of the inputs to sync the values with a global variable. it’s the same principle of this example or this example or this example with multiple forms