On Saturday 05 November 2011 10:51:44 [email protected] wrote: > noticed though, that there is a major bug in the recipe when handling > checkboxes. it will only set the PTV to 1 once. if you want to set it to 0 > again, it will ignore the unchecked checkbox leaving the PTV on a value of > 0. also the recipe does not work with radiobuttons, select lists, etc > without using a hidden helper form field and implementing all additional > functionality with javascript hacks.
You may contact Eemeli (the author) on the talk page or via e-mail: he may be able to improve the recipe, which probably was designed to handle text fields. (When a checkbox is cleared, the browser doesn't submit the empty field, so the recipe somehow needs to be notified that a field should be changed even if the browser sent nothing.) Petko > From: Petko Yotov <[email protected]> > > Hello. The EditAttributes recipe can be configured to do such additional > > form fields, and it works even with existing pages. > > > > http://www.pmwiki.org/wiki/Cookbook/EditAttributes > > > > While editing, it removes the (:title ... :), (:myPTV: ... :) and other > > configured strings from the page text and places them in additional text > > boxes (not sure if it can do drop-down select lists). After submitting > > the changes, it compiles the page again, with all variables at the end > > of the page text. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
