Mobile login form

I have a login page with a server connect form connected to the login api.
The form contains the email and password field and a List Button

Normally in a web project you set the action type of the button to POST. But with a list button you cannot set the post type?
How can I link this button to the success action of the server connect form?

Can you give a little more info on the ‘list button’?

The POST action is set in the <form> and not any elements within it so I’m not quite clear what you’re doing.

I assume you are using FW7.

I think you need to set a dynamic on click event to your list button. Set it to run your server action.

Thanks Brad, That is indeed triggering the event (First I thought it didn’t)
Now I see that there is a CORS issue. That is why I get no response back from the api.
I have however enabled CORS in the web/api project with a * and Get/Post/Put/Delete added

This is all running locally with a Docker NodeJS project for the API. and locally for the mobile project. You would expect no Cors problems testing this way ;-S
Is there perhaps another location to setup Cors besides the API project?

I believe you need to select the ‘credentials’ check box on your form server action properties.

Credentials are checked .

I keep getting this cors credentials error