Results 1 to 2 of 2
Thread: Serializing parts of a form
- 03-18-2012, 06:10 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
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:
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)XML Code:<form name="test" action="http://www.testsite.com" 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"> </form>
Is this possible? (and could you please give me any pointers as to how this would be achieved!)
Thanks for any help!
Daniel.
- 03-18-2012, 09:44 PM #2
Similar Threads
-
Some parts of JFrame off screen
By cwbr in forum AWT / SwingReplies: 9Last Post: 01-30-2012, 05:40 PM -
What parts of Java do you dislike and why?
By Petr in forum Advanced JavaReplies: 5Last Post: 11-02-2011, 04:34 PM -
Public API for Custom XML Parts & Custom Parts, Graphics Rendering
By sherazam in forum Java SoftwareReplies: 0Last Post: 09-12-2011, 01:06 PM -
several threads for different parts
By Itun in forum AWT / SwingReplies: 2Last Post: 03-20-2011, 11:18 PM -
need help with few parts in java program please!
By fezman1337 in forum JCreatorReplies: 1Last Post: 11-22-2010, 05:26 PM


LinkBack URL
About LinkBacks

Bookmarks