i attached the inputs A, B, C to a json model in the xml view as follows-
<Label text="A" />
<Input value="{newModel>/A}" />
<Label text="B" />
<Input value="{newModel>/B}" />
<Label text="C" />
<Input value="{newModel>/C}" />
In the controller file, I called the json model newModel and then called its .getdata() in a variable. This variable is being passed to the router for the next view on the buttonclick action.
Thanks for everything!
Cheers,
-NK