The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Form Submit html
HTMLn00b^_^
post Feb 20 2011, 05:52 AM
Post #1





Group: Members
Posts: 2
Joined: 20-February 11
Member No.: 13,926



Hi all, ive been trying to make a form that you can submit, the form seems fine when i test it in a HTML code test website but the submit button isnt showing up at all, please help smile.gif

Name (if known):<BR> <INPUT NAME="Name (if known)" TYPE="text" SIZE=20 MAXLENGTH=30><BR>
<BR>
Age Please indicate approximate one<BR>
16-20: <INPUT NAME="16-20" TYPE="checkbox">
21-30: <INPUT NAME="21-30" TYPE="checkbox">
31-40: <INPUT NAME="31-40" TYPE="checkbox">
41-50: <INPUT NAME="41-50" TYPE="checkbox">
51-60: <INPUT NAME="51-60" TYPE="checkbox">
60+: <INPUT NAME="60+" TYPE="checkbox">
<BR>
<BR>
Ethnicity: <BR><INPUT NAME="Ethnicity" TYPE="text" SIZE=30 MAXLENGTH=30><BR>
<BR>
Gender<BR>
Male: <INPUT NAME="Male" TYPE="checkbox">Female: <INPUT NAME="Female" TYPE="checkbox">
Unknown: <INPUT NAME="Unknown" TYPE="checkbox"><BR>
<BR>
Hair (Long, Short, bald, colour, facial hair, other):<BR> <INPUT NAME="Hair (Long, Short, bald, colour, facial hair, other)" TYPE="text" SIZE=30 MAXLENGTH=30><BR>
<BR>
Approximate height:<BR> <INPUT NAME="Approximate height" TYPE="text" SIZE=30 MAXLENGTH=30><BR>
<BR>
Other Identifying features
<BR><textarea NAME="Other identifying features" ROWS=6 COLS=40></textarea><BR>
<BR>
Location<BR>
Name of street and full description of sleeping site (e.g. shop doorway, under bridge, stairwell of block of flats etc). If you are unsure of the exact location, please provide as much detail as possible.
<BR><textarea ROWS=8 COLS=40></textarea><BR>
<BR>
Length of time at this location (If Known):<BR> <INPUT NAME="Length of time at this location (If Known)" TYPE="text" SIZE=30 MAXLENGTH=30><BR>
<BR>What times are they usually here? :<BR><INPUT NAME="What times are they usually here? " TYPE="text" SIZE=30 MAXLENGTH=30><BR>
<BR>
Are you aware of any risks that this person may cause to themselves or other individuals? (Please indicate your answer)<BR>
Yes: <INPUT NAME="Yes" TYPE="checkbox">
No: <INPUT NAME="No" TYPE="checkbox">Don't know: <INPUT NAME="Don't know" TYPE="checkbox"><BR>
<BR>
If yes, who might they pose a risk to: (please indicate your answer)<BR>Themselves: <INPUT NAME="Themselves" TYPE="checkbox">
Other individuals: <INPUT NAME="Other individuals" TYPE="checkbox"><BR>
<BR>
Please give any information that will be helpful for professional staff to safely contact or approach the individual:<BR>
<textarea ROWS=8 COLS=40></textarea><BR>
<BR> Is the person who is sleeping rough aware you are making this referral? (Please indicate answer)<BR>
Yes: <INPUT NAME="Yes" TYPE="checkbox">
No: <INPUT NAME="No" TYPE="checkbox">
Don't know: <INPUT NAME="Don't know" TYPE="checkbox">
<BR>
<BR>Are you aware of any specific support needs? (Please indicate)<BR>
Drugs/Substance: <INPUT NAME="Drugs/Substance" TYPE="checkbox">
Alcohol: <INPUT NAME="Alcohol" TYPE="checkbox">
Mental Health: <INPUT NAME="Mental Health" TYPE="checkbox">
Health: <INPUT NAME="Health" TYPE="checkbox">
Elderly: <INPUT NAME="Elderly" TYPE="checkbox">
Young: <INPUT NAME="Young" TYPE="checkbox"><BR>
<BR>
Your contact details (optional)<BR>
Name: <BR><INPUT NAME="Name" TYPE="text" MAXLENGTH=60><BR>
Organisation/Agency: <BR><INPUT NAME="Organisation/Agency" TYPE="text" MAXLENGTH=60><BR>
Your contact number: <BR><INPUT NAME="Your contact number" TYPE="text" MAXLENGTH=60><BR>
Your email address:<BR> <INPUT NAME="Your email address" TYPE="text" MAXLENGTH=60><BR>
<BR>
We will only use your details if we require more information from you.<BR> Thank You<BR>
<form action="mailto:XXX.XXX@example.com?subject=Rough Sleeper Alert" method="post" enctype="text/plain">
<table><tr><td>

This post has been edited by HTMLn00b^_^: Feb 20 2011, 05:52 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 20 2011, 06:27 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You haven't included a submit button. And this...

HTML
<form action="mailto:XXX.XXX@example.com?subject=Rough Sleeper Alert" method="post" enctype="text/plain">

should be at the very top.

HTML elements are containers, they circumscribe their content.

CODE
<form action="...">
   <input...>
   <input...>
   <input...>
   <input type="submit">
</form>


See? FORM is the outer container for all the other form elements.

http://htmlhelp.com/reference/html40/forms/form.html
http://htmlhelp.com/reference/html40/forms/input.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
HTMLn00b^_^
post Feb 20 2011, 06:30 AM
Post #3





Group: Members
Posts: 2
Joined: 20-February 11
Member No.: 13,926



thank you very much for your help, how do i include a submit button lol blush.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 20 2011, 08:34 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Look the sample code I posted. It has one. It's further described on the secont page I linked to. wink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 05:02 AM