34 users online (1 members and 33 guests)  


  Results 1 to 8 of 8

Related

  1. Form Question    Forum: HTML Forum
    Replies: 4
  2. text form question    Forum: Website Scripts Forum
    Replies: 0
  3. Another form question?....    Forum: HTML Forum
    Replies: 15
  4. Form Question    Forum: Website Scripts Forum
    Replies: 2
  5. Form Question    Forum: CGI Perl Forum
    Replies: 5
  1. #1
    leochan861's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    6

    HTML Form Question

    <form action="orderreceived_1.shtml"
    method="post" onsubmit="return checkform()">

    <input type="text" id="address" />

    This form is to send the inputted address to the "orderreceived_1.shtml". But what are the codes in the "orderreceived_1.shtml" in order to show the data which I inputted at the previous page??

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: HTML Form Question

    It needs to be a script to process the data. You will have to search around for a script to do what you want.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    leochan861's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    6

    Re: HTML Form Question

    Javascript?? Can you explain more on it or give some examples?? Thank you very much for your help.

  4. #4
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: HTML Form Question

    All a form does is post info to some sort of script
    Code:
    <form action="orderreceived_1.shtml"
    tells it to post to the script at the above file, you have no such file obviously.
    So, you must figure out what your needs are, what functions do you need. This will tell you if a client side script like js will work or if you need something with the security of a server side script like php or asp. You will also need to know what you can run on your particular server.

    D
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  5. #5
    leochan861's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    6

    Re: HTML Form Question

    Quote Originally Posted by Dave View Post
    All a form does is post info to some sort of script
    Code:
    <form action="orderreceived_1.shtml"
    tells it to post to the script at the above file, you have no such file obviously.
    So, you must figure out what your needs are, what functions do you need. This will tell you if a client side script like js will work or if you need something with the security of a server side script like php or asp. You will also need to know what you can run on your particular server.

    D
    I don't know how to pass a value from a html to another html. "orderreceived_1.shtml' is created by me, but i don't know how to show out the value. no security is needed. Can html do this thing?

  6. #6
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: HTML Form Question

    HTML is a markup language. Again, unless I know your needs I cannot guide you toward the proper script.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  7. #7
    leochan861's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    6

    Re: HTML Form Question

    [orderreceived_1.shtml]

    This is just a prototype page to show an example of the message a user would see when they have
    used the order form to place an order. Provide an example of the following submitted details
    The item details: Item name, code, colour, price etc,

  8. #8
    leochan861's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2007
    Posts
    6

    Re: HTML Form Question

    HTML Code:
    <form action="orderreceived_1.shtml" 
    method="post" onsubmit="return validateform()">
    
    <tr>
    <td>Quantity of items:</td>
    <td><input type="text" id="quantity" name="quantity" /></td></tr>
    
    <div>
    <input type="submit" value="Submit" />
    </div>
    </form>
    What I am writing is to pass the input value to the orderreceived.shtml, but is seems that the orderreceived.shtml can not show the value



Tags for this Thread