| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > I dont understand how this form is supposed to work...help plz. |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2008
Posts: 7
|
I dont understand how this form is supposed to work...help plz.
I have a 'posts' area and a 'subscribe to newsletter' area on this free template i downloaded. (its called "WN_003" on the interspire website) im not sure how i make these areas work for me, im assuming the 'posts' area shows recent posts and the newsletter is pretty self explanatory but like where do i enter the sendto email address etc? 1, this peice of code looks like a script: " form id="form1" name="form1" method="post" action=""> " what is it for and how do i 'use' it? im assuming something goes in between the 2 " after action....but what? 2, another similar peice of code " input name="textfield" type="text" class="search_inputbox" value="Enter your E-mail" " seems to be for the 'newsletter signup' area on the page but again, how does this work? Are these parts of a script that i have to add to or do they reference a script im not aware of? oh, my brain is hurting. I realize these are probably village idiot questions but i just cant work it out. thanks in advance for any help you can give me. |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 16
|
i think you need to write a basic form of your own and get it to post data to another page - once you can do that - all will become clear. html can pass values to the server or another page using a form's post array - item on the form such as inputs have a name and are given a value by the user of the form. these name:value pairs are loaded into the array when form is submitted a form with an <input name="color" value=""/> get used by a user who types in blue once submitted the color can be extracted from the array by scripts like $myFavColor = $_POST["color"] |
|
|
|
#3 (permalink) |
|
Senior Member
Join Date: Oct 2007
Location: Ohio
Posts: 160
|
Go here HTML Forms and Input This will give you basic information about forms and what the tags mean. the have examples there that you can look at. After you have a better understanding of what the tags mean you should look up some tutorials on creating and implementing forms on a site here. Best of Luck |
|
|
|
#4 (permalink) | |
|
i'm done, son
Join Date: Jan 2005
Posts: 12,262
|
Quote:
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Apr 2008
Posts: 7
|
wow, forms are sweet! I've got it now i think, except.... I looked around for a script to use for my 'news section'...couldn't find anything?? Anyone know where i might find a script that will show 'news' on my pages. I take it this will enable me to edit the news itself in one place and it will show up in all my pages right? thanks again for any help you lot can give me. |
|
![]() |