[pmwiki-users] Javascript to require "Summary" for changes
Petko Yotov
5ko at 5ko.fr
Fri Apr 24 17:36:29 CDT 2009
On Friday 24 April 2009 19:17:30 Karl Schilke wrote:
> Is there a simple way to add a Javascript pop-up if the Summary field
> is blank? It could just display a message ("You must include a Summary
> for this change") and deny the edit. Better yet, it could request the
> summary text, insert it into the proper field, and then finish the
> submit.
Hi. I updated the NotsavedWarning recipe to do just this. See
http://www.pmwiki.org/wiki/Cookbook/NotsavedWarning
Hope that helps,
Petko
More information about the pmwiki-users
mailing list