Results 1 to 2 of 2
  1. #1
    lhbdan is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Serializing parts of a form

    If you have a html form with three inputs, how do you serialize two of the text fields, but not the third, and then pass the serialized data as a post variable (alongside the other variable). An example may better demonstrate what I am trying to ask:

    XML Code:
    <form name="test" action="" method="post">
    School Name:<input type="text" name="schoolname" value="">  </br>
    Password: <input type="text" name="password" value=""> </br>
    Your Name:<input type="text" name="firstname" value=""> </br>
    <input type="submit" value="submit">
    I would like the input 'schoolname' and 'password' to be serialized into a variable called 'custom' (so that when the form is filled out, the next page will receive two post variables, one called custom containing schoolname and password, and another called firstname)
    Is this possible? (and could you please give me any pointers as to how this would be achieved!)
    Thanks for any help!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Serializing parts of a form

    Wrong place. This forum's for Java, not HTML.


    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Some parts of JFrame off screen
    By cwbr in forum AWT / Swing
    Replies: 9
    Last Post: 01-30-2012, 06:40 PM
  2. What parts of Java do you dislike and why?
    By Petr in forum Advanced Java
    Replies: 5
    Last Post: 11-02-2011, 05:34 PM
  3. Replies: 0
    Last Post: 09-12-2011, 02:06 PM
  4. several threads for different parts
    By Itun in forum AWT / Swing
    Replies: 2
    Last Post: 03-21-2011, 12:18 AM
  5. need help with few parts in java program please!
    By fezman1337 in forum JCreator
    Replies: 1
    Last Post: 11-22-2010, 06:26 PM

Tags for this Thread

Posting Permissions

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