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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A form within another form

    Hello,

    I would like to have a form like this:

    Name: ________
    Blah: _________
    Image: _________ |Select File Image on server|
    Blah2: _________

    The only way I found to do this is to have a form (for the selection of file) within another form (the main form all the data). But I found that it is not possible to include a form within another form. Another solution would be to pass the file selection either to the top of the data or to the bottom so I separate the forms but the order in this case is important and I can't do that. So I wonder if someone have a solution to my problem. In fact the file selection should open a new window showing the differents images uploaded to the server and then after selection should update the Image name input tag.

    Thanks for your time.
    Last edited by zdruid; 12-21-2005 at 10:34 PM.

  • #2
    New Coder
    Join Date
    Dec 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The is possible with only one form, but you'll have to use the enctype attribute of the form tag, this article should help you out.

    http://www.web-programming.org/conte..._with_HTML.cfm


  •  

    Posting Permissions

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