View Single Post
  #2  
Old 08-15-2008, 10:04 AM
dodie
Junior Member
dodie is offline
dodie's Avatar
Join Date: Oct 2003
Posts: 473
Default

again, If you like to share CODES with us, the stuff you are showing are tooooo simple!!!!!

for the newbies out there, it's still incomplete!!!!, you didn't even explain the purpose of text field, text area, submit button and <form> tag and it's behaviours and what would be the effect between POST and GET. That makes the newbies confuse.

for the codes <input></input> <--- not complete
it should have attributes like name="..." value="..." to identify each fields.


it should be like this.

Code:
<form name="form1" method="POST" action="session_login_target_page">
<input type="text" name="user" value=""> <br>
<input type="password" value="" name="pass"><br>
<input type="button" value="Login" name="submit"><br>
</form>
EXPLAINATION:
* For additional security, Javascript is used to identify the form and the fields using the NAME attribute. That makes the error trapping comes in.
* The METHOD attribute makes the variable visible or not, if using POST that makes the variables hidden thru server.
* Form FIELDS are identified with NAME attribute in order for easy tracking as variables when receiving into the next action page.



@elmerino
If you want to share with us, please put into details
don't make the new learners confuse.


Why you can afford to buy domain? It's very nonsense. There are my webhosting providers in cebu, and you can pay thru CASH without involving your bank account . You can pay thru monthly, quarterly or annual.

Website Development involves MONEY! You can't be in design busines if you are not prepared for it.
Reply With Quote