1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

form name in html

Discussion in 'Software Development' started by punjabian263, Mar 9, 2004.

Thread Status:
Not open for further replies.
  1. punjabian263

    punjabian263 Thread Starter

    Joined:
    Mar 13, 2003
    Messages:
    358
    1-what is the advantage of giving a name to form;

    2-if i use this name either this is declared as an array or not.
    i am using infact php

    <form name="web[]">
    <input type="text"name="abc">
    ----
    -----
    </form>
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    YOu only need to name the form elements if there is scripting that needs to reference that element name for some sort of processing. Passing variables from one page to another is a good example.
     
  3. punjabian263

    punjabian263 Thread Starter

    Joined:
    Mar 13, 2003
    Messages:
    358
    Rockn give me a code example please, yes i am using php script.
    although we can pass elements from 1 page to other by using

    Code:
    <form method="post" action="abc.php">
    </code>
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/210534

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice