I like to make the code above functions like the follow.Code:<form action='action.cfm'> <input type='submit' value='twoBoxes'> <form></form> / delimiter <form action='action.cfm'> <input type='text' name='box1' value=''> <input type='submit'> </form> <form action='action.cfm'> <input type='text' name='box2' value=''> <input type='submit'> </form> </form>
(1) If a user enters his comment in box1 and submit box1 button, it goes to action page with the value of box1.
(2) If a user enters his comment in box2 and submit box2 button, it goes to action page with the value of box2.
(3) If a user enters his comment in box1 and box2, and He submits two boxes button, it goes to action page with the value of box1 and the value of box2.
The code above works fine in functioning of (1) and (2), but it doens't work fine in functioning of (3).
In function of (3), the code above goes to action pages WITHOUT the value of box1 and the value of box2.
How can I make it funnctioning (1), (2) and (3) in a same page?









Bookmarks