Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Forms....

  1. #1
    Join Date
    Aug 2005
    Posts
    237

    Default Forms....

    Could anyone please give me the HTML code for forms? Thanks :P

  2. #2
    Join Date
    Aug 2005
    Posts
    13

    Default

    Here are some hexicetree:

    A text field named "text1" that is 30 characters wide.
    <input type="text" name="text1" size="30">

    A text field named "text2" that is 30 characters wide but will only accept 20 characters.
    <input type="text" name="text2" size="30" maxlength="20">

    A text field named "text3" that is 40 characters wide with default value. the text here is an example.
    <input type="text" name="text3" size="40" value="We are not alone">

    A password field named "pass1" that is 30 characters wide.
    <input type="password" name="pass1" size="30">

    A password field named "pass2" that is 30 characters wide but will only accept 20 characters.
    <input type="password" name="pass2" size="30" maxlength="20">

    A password field named "pass3" that is 40 characters wide with default value.
    <input type="password" name="pass3" size="40" value="We are not alone">

    A textarea field named "comments" that is 45 characters wide and 6 lines high.
    <textarea name="comments" rows="6" cols="45" wrap="virtual">
    The first time I ever saw a web page, I thought.... (continue)
    </textarea>

    4 radio buttons with default selection
    <input type="radio" name="food" value="hotdogs" checked> hotdogs are my favorite food

    <input type="radio" name="food" value="hamburgers"> i like hamburgers

    <input type="radio" name="food" value="steak"> steak is tasty

    <input type="radio" name="food" value="beans"> beans are for veggie-lovers


    4 check boxes with default selections
    <input type="checkbox" name="food1" value="hotdogs" checked> hotdogs are my favorite food

    <input type="checkbox" name="food2" value="hamburgers"> i like hamburgers

    <input type="checkbox" name="food3" value="steak" checked> steak is tasty

    <input type="checkbox" name="food4" value="beans"> beans are for veggie-lovers


    A four item select menu with the third item selected initially
    <select name="cheeses">
    <option value="colby"> Colby from Ohio</option>
    <option value="sharp"> Sharp Cheddar from Oregon</option>
    <option value="swiss" selected> Holy Cheese from Switzerland</option>
    <option value="longhorn" > English Longhorn</option>
    </select>

    Submit button
    <input type="submit" value="Send this form data now!">

    Reset button
    <input type="reset" value="Clear the web form">

    I think i have given you much forms.
    :D 8)

  3. #3
    Join Date
    Aug 2005
    Posts
    13

    Default

    waiting for a reply!!!

  4. #4
    Join Date
    Aug 2004
    Location
    USA
    Posts
    996

    Default

    YOu also needt o set functions.

    <form type=encrypt method="post" src=contact.php> <-guessing there.
    and put in the above stuff he gave you and then </form>

    and when ypu push submit or something all the information will be sent to contact.php and your stuff will be sent via email.
    Thats the stuff I got, but bizhat.com does not allow php.
    So try and find a .shtml script for that and maybe look for cgi too.

  5. #5
    Join Date
    Sep 2005
    Posts
    2

    Default

    thanx a lot xjun!! :)

  6. #6
    Join Date
    May 2005
    Posts
    211

    Default

    I believe there is a program called asp net from microsoft that helps in inserting the boxes and buttons on the fly. Check it out it's very useful.

  7. #7
    Join Date
    Aug 2004
    Location
    USA
    Posts
    996

    Default

    You can't use asp on bizhat.com, atleast I don't think so.

    ASP = Window's based Function Files.

    Allows you to do many things with 1 simple file kind of like php, but I'm not sure if bizhat.com is hosting asp but I'm sure that they have linux servers.

  8. #8
    Join Date
    May 2005
    Posts
    211

    Default

    I said the program named asp net helps you to create html buttons on the fly. I am not talking about asp pages.

  9. #9
    Join Date
    Aug 2005
    Posts
    237

    Default thanks

    Thanks. This helps a lot! :P

  10. #10
    Join Date
    Dec 2005
    Posts
    10

    Default

    ohhhhhhhhhhhhh it`s goooooood

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •