Hi,
Restore the wap template set to the original state. It seems u have changed the login.htm or something. After restoring the templates (wap) try again. At least i see that domain name hard coded in your case. The source of your wap and mine is as follows:
----My source---
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "
http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="login" title="My Title">
<p mode="nowrap"><b>Login</b><br/>
Username: <input name="username" title="Username" emptyok="false"/><br/>
Domain: <input name="domain" value="mydomain.com" title="Domain" emptyok="false"/><br/>
Password: <input name="password" title="Password" emptyok="false"/>
</p>
<do type="accept" label="Login">
<go method="post" href="login.cgi">
<postfield name="t" value="wap"/>
<postfield name="no_update" value="1"/>
<postfield name="cookie" value="no"/>
<postfield name="username" value="$(username)"/>
<postfield name="domain" value="$(domain)"/>
<postfield name="password" value="$(password)"/>
<setvar name="password" value=""/>
</go>
</do>
</card>
</wml>
----Your WAP Login ---
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "
http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="login" title="Gossamer Mail">
<p mode="nowrap"><b>Login</b><br/>
Username: <input name="username" title="Username" emptyok="false"/><br/>
Domain: nightmaresonwax.net<br/> (this needs correction)
Password: <input name="password" title="Password" emptyok="false"/>
</p>
<do type="accept" label="Login">
<go method="post" href="login.cgi">
<postfield name="t" value="wap"/>
<postfield name="no_update" value="1"/>
<postfield name="cookie" value="no"/>
<postfield name="username" value="$(username)"/>
<postfield name="domain" value="nightmaresonwax.net"/>
This needs correction <postfield name="password" value="$(password)"/>
<setvar name="password" value=""/>
</go>
</do>
</card>
</wml>
Kindly do the above changes and pass the domain name thru the browser based redirection script that i sent to you.