To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publish.htmlOpen lugnet.publish.html in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / HTML / 306
305  |  307
Subject: 
Re: Disabling HTML form button if any changes made to an edit box?
Newsgroups: 
lugnet.publish.html
Date: 
Mon, 2 Jun 2003 21:02:08 GMT
Viewed: 
7389 times
  
In lugnet.publish.html, Todd Lehman wrote:
> In lugnet.publish.html, Brian H. Nielsen wrote:
> > You can still accomplish forcing a preview before every post by removing the
> > post button from the message edit form, leaving only the preview button.
> 
> That part sounds great to me.
> 
> > On the Message Preview page, make the 2 sections be separate forms.  The top
> > preview form has a post button, while the bottom message edit form has only
> > a preview button. No JS or CRC required.
> 
> And this part also sounds great -- except for one thing:  What if someone makes
> edits in the lower form, but then clicks the "Post" button in the top form?
> 
> --Todd

Todd, I was justing post a blog when i thought of something (well, saw how the
blog did it) -

one the page where you compose the text, it has one button that says "preview".

when you hit it, you go to a page with the text, but you are unable to edit it.
there are three buttons, 're-edit' , 'delete' , and 'post'

if you hit re-edit, it just returns you to the first screen.

hope this helps!
-lenny



Message has 1 Reply:
  Re: Disabling HTML form button if any changes made to an edit box?
 
(...) I think that might make more work for the user than is strictly necessary. If the server detects changes automatically (or if JS disabled the "Post" button automatically), then it eliminates a step. --Todd (23 years ago, 2-Jun-03, to lugnet.publish.html)

Message is in Reply To:
  Re: Disabling HTML form button if any changes made to an edit box?
 
(...) That part sounds great to me. (...) And this part also sounds great -- except for one thing: What if someone makes edits in the lower form, but then clicks the "Post" button in the top form? --Todd (23 years ago, 2-Jun-03, to lugnet.publish.html)

19 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR