Mobi Groups
Download Free Apps & Games @ PHONEKY.com

Wapmaster-school - Topics
Create Your Own App Store

* Wapmaster-school > Topics


Subject: HTML forms
Replies: 16 Views: 4431

elliotn 8/1/2006 - 5:21:48
this topic will deal with forms only *

elliotn 8/1/2006 - 5:37:26
inseting a form in a html page could be define as easy the <form>code is used tell the html that u are about to make a form *

elliotn 8/1/2006 - 5:58:05
eg if u want a user to write his/her name in a text field u would put it as <form> Name:<input type=''text''> </form> the above code will make a form of which a user can type in his or her name. *

elliotn 8/1/2006 - 6:20:34
4 a password it must b PASSWORD:<input type=''password'' name=''password'' NB. that an asterix will appear in a user's browser as they pin in the password *

elliotn 8/1/2006 - 6:43:34
a radio b*ttons are form of which user can only choose one limited option eg: <form> <input type='radio' *

kwah 8/20/2006 - 11:55:43
A typical HTML login form containing everything youre ever likely to use :: <form action='http://url for the form to be sent to' method='post'> Username:<input name='username' id='username' type='text' value='username' size='15' maxlength='45'/><br> Password:<input name='password' id='password' type='password' value='password' size='15' maxlength='45'/><input type='submit' value='Login!'/> </form> *

kwah 8/21/2006 - 12:03:16
all forms contain three things. the <form> and </form> tag - with various extra stuff, including the action=' ' attribute - it basically tells the browser what to do with the form .. at least one input - textbox, radio b*ttons, checkboxes, 'select' drop-down boxes, file input - .. And crucially, an <input type='submit' name='Login'/> if you want your form do actually do anything except look good *

kwah 8/21/2006 - 12:12:10
firstly, i'll talk about the various inputs available. inputs do not function properly without the <form> </form> tags wrapped around it ..<input type='text'/> is simply a plain, ordinary text box .. <input type='password'/> is a text box, BUT when text is typed in, it appears as a series of *'s ... <input type='radio'/> radio b*ttons are just a group of options, but you can only select one option *

kwah 8/21/2006 - 12:22:05
drop-down boxes are slightly more complex and require more code than all the other types of input .. a simple example showing three options to choose from : <select name='example drop-down box'> <option value='1'>option 1</option> <option value='2'>option 2</option> <option value='3'>option 3</option> </select> ... If you need any help with any html etc,please feel free to contact me at prodigits *

kwah 8/21/2006 - 12:26:56
<input type='submit' name='send'/> ... This basically tells the form do whatever the <form action=' '> is .. If the action is a URL / URI, then all data in the form gets sent to that url, is processed (usually with a programming language such as CGI or Perl or PHP etc) *

tekken05 10/25/2006 - 11:10:02
can u translate this WML code to HTML code? <input type='text' name='q' value='http://'><br/><a href='http://wapsilon.com/viewcode.cgi?$(q)'>Go</a> ive try to make it on my own but i always get an error on $(q) attributte.i dont know how to resolve it.btw,its a sourcecode viewer . *

tekken05 10/25/2006 - 11:17:32
another one is this.a WML code translate to HTML <input type='text' name='q' value=''/><br><a href='http://url1/$(q)'>Go1</a><br><a href='http://url2/$(q)'>Go2</a> please make a dropdown or a radio type of it it.thanks for the help..mainly,my problem is that $(q) thing.some of the scripts that i made does work but mostly are not.thank you. *

kwah 10/27/2006 - 11:52:45
<form href='$(select)'><input type='text' name='q' value '' /><br> <select name='select'><option value='http://URL1.com/$(q)'>OPTION 1</option><option value='http://URL2.com/$(q)'>OPTION 2</option></select> <input type='submit' value 'text displayed on the b*tton' /> </form> *

kwah 10/27/2006 - 11:54:41
btw, i posted all those as double quotes around the values, but have been flitered to become single quotes .. just so youre aware of that .. *

kwah 10/28/2006 - 12:14:26
no, wait lol sorry man - dumb me .. you need to do tell the url what $(q) is for .. .. for example file.cgi?q=$(q) where the q= bit is important (if present in a working url?) .. sorry i didnt notice that before, but the same applies to the links i posted two msgs ago *

madmax89 1/8/2007 - 3:35:05
Can u help me to learn more about html forms?in post method how i can retrive a form information,from a page to another page of my html wapsite.. :)need ur help. *

kwah 3/9/2007 - 11:57:20
sorry this is so late, but yeah ill help you learn about html forms lol .. to retrieve the data, just treat it exactly as if it was a GET variable (the only difference is that you cant see the values in the url) .. *


* Reply
* Wapmaster-school Forum


Search:
topics replies


* Wapmaster-school

Create Your Own App Store

topTop
groupsGroups
mainProdigits

Create Your Own App Store