dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Forms and links in HTML

  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Question Forms and links in HTML

    Hi!

    i have a form in a page where there are some links.
    i want to keep the information that the user has filled in the form, even if he clicks on a link without submitting the form first. is it possible?

    help please!!

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,279
    You can for some, but not all. If this feature isn't important then go ask on the JavaSCript forum. You'll need to use the page's "onunload" handler to set a cookie. And everybody that doesn't use JavaScript and everybody that blocks cookies will not be able to use this feature.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Aug 2006
    Posts
    167
    well im not sure what u meant by keeping the information that the user has filled in the form. but if you mean to submit the form even if the user clicks on a link (or rather, another link), then one suggestion will be to open the link in a new page and submit the form (in the current page) when the link is clicked. this can't be done using html though, its more on javascript

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles