0
votes

I used the Play! ScalaForm Tutorial to learn how to use Forms.

I got it working. It now shows 2 Inputboxes there I can write UserName and Password into. But the Tutorial doesn't tell me how to submit the Form.

So how to Submit the Form?

Overall I'm trying to implement en Loginscreen.

Project on GitHub

And a follow up Question I want to redirect to the Home.html. Tryed it with Action and with Redirect but can't get it working.

1
Like any other HTML form: <input type="submit" value="MyLabel">. - insan-e

1 Answers

0
votes

(Posted on behalf of the OP).

I got it working GitHub branch

I had to add

<button type="submit">Login</button>

and change the method from val to def