Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Transferring form code information

    Using the HTML <form> codes, how is the html_form_action.asp information receiving page setup?

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Very carefully.

  • #3
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Oh, I mean since we can't see html_form_action.asp we have no idea. Post some code, a link to the page (although since it's ASP a link might not be too helpful), or something.

    This also sounds like more of an ASP question, but essentially the "name" attribute of form inputs are retrieved from ASP by using <% request("name") %> in the form's action page. (I think, I'm no ASP programmer)

  • #4
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Transferring form code information

    This is where my question originated. The HTML codes are given but how to receive the input is not explained.

    http://www.w3schools.com/html/tryit....ml_form_submit

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Ah, ok… html_form_submit.asp is the w3schools example file. Here's the part that you need:

    When the user clicks on the "Submit" button, the content of the form is sent to another file. The form's action attribute defines the name of the file to send the content to. The file defined in the action attribute usually does something with the received input.
    It's the other file that does the processing. So you need some sort of code (ASP, PHP, something server-side although you can use Javascript as well) to pick up the form values. In other words, HTML by itself doesn't do the work, it's additional code that does something with the form.

    What language are you coding your site in?

  • #6
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    I do a web site for the village where I live. I do it in HTML. That is the extent of my programming knowledge. Setting up this method of collecting information may be over my head.

    Jerry

  • #7
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Well, you could always use the "mailto:" action on your forms. It'll send the form data to you via email. It's not very secure or adaptable but it might do the trick for you.

    Google "html forms mailto" for a bunch of articles on how to get it going. Hope this helps…

  • #8
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Thank you very much. I will try that method.


  •  

    Posting Permissions

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