The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

HTML form submission questions. by shorty822006-04-02 19:47:59
  some ideas by RunNeoRun 2006-04-02 20:09:41
Disclaimer text: make the TEXTAREA a "disabled" control. This makes it read-only, AND it won't be submitted in the form.

Alternately, put it into an IFRAME, rather than a TEXTAREA. It will still scroll, but it's a separate HTML document, and not part of a form. This won't work with Lynx, which has no frame support.

Submit button: do likewise, but use client-side script (JavaScript/ECMAscript) to make button "disabled" before submission. Beware, if the user interrupts form submission, they will have to re-load the page, wiping the input fields, before they can submit corrected information.

A radical approach to strict form management is to use two forms: a visible form for user input, and an invisible form for submission. When the user clicks "Submit", a client-side script copies whatever form data from the visible form to the invisible form, then submits the invisible form.
[ Reply ]
    Staya way from IFRAMEs for this stuff by fudje2006-04-02 20:16:14
      Which is exactly what I did. by shorty822006-04-02 20:22:10

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)