Submitting Form data to server

I’ve got a simple form within a viewport. When I “SUBMIT” the form my input controls return a “NULL” when using the follwoing:
this.getComms().request.getParameter(“username”);

My input control “id” and “name” is set to username.

loginformData = [
{type: “settings”, position: “label-left”, labelWidth: 90, inputWidth: 130},
{type: “block”, width: “auto”, blockOffset: 20, list: [
{type: “input”, label: “Username”, value: “”, id: “username”, name: “username”, required: true},
{type: “password”, label: “Password”, value: “”, id: “password”, name: “password”, required: true},
{type: “button”, label: “New Input”, value: “Login”, name: “btnlogin”, offsetTop: “20”}
]}
];

My server side results are:

Wednesday, May 8, 2019 event: login
Wednesday, May 8, 2019 username: null
Wednesday, May 8, 2019 password: null

Any assistance would be greatly appreciated.

Steve

Could you please, provide a complete demo/demo link or a code snippet, where the problem can be reproduced locally.