Password
After received the submit it goes to submit card.
wmlHeader();
_wml();
_card( "id='info'" );
_do( "type='accept' label='Submit'" );
__go( "href='#submit'" );
do_();
The _p method has the mode 'nowrap' which will not wrap a long line. Login has the input type 'text'. Password has the input type 'password' which will not dispaly the input text.
_p( "mode='nowrap'" );
quote( "Login:" );
__input( "type='text' name='login'" );
quote( "Password" );
__input( "type='password' name='password'" );
p_();
card_();
submit card will dispaly the login variable and password variable. The $(login) is a WML variable. The $ has a later evaluation by the server.
_card( "id='submit'" );
_p( "mode='nowrap'" );
quote( "Login: $(login)" );
__br();
quote( "Password: $(password)" );
p_();
card_();
wml_();
|