Right now I understand 

```
if (IsPost){   //do stuff }

```

checks all post methods on that page. However, I have 2 different forms posting 2 different information. These are a login form and a register form.

Is there a way I can check IsPost based on which form? For example,

```
if(Login.IsPost){ //do stuff }

```

but how would I define the Login variable? My form looks like:

```
<form id="Login" method = "POST">

```

I have tried:

```
var Login = Form.["Login"]

```

it did not work.

I will appreciate any help.

Thanks.