> Date: Fri, 9 Jan 2009 18:58:30 +0000 > From: david roundell <[email protected]> > Subject: [pmwiki-users] wikiforms - make 'title' uneditable after > submission > > hello > > back in july i asked if wikiforms could have a feature that prevented a > field from being > edited once the user had filled in that field and submitted the form. > > john kindly added ("some text"!=25) the exclaimation mark, to prevent > users editing the same field again. > > the question i have this time is i have found it is not possible to use > this with the 'title' directive. > no matter which variation i try, the (title) directive does not work well > with the '!'. so in effect i would > like something along the lines of (title!=25). > > is there an easy way round this that i'm missing? > > thanks! > > david
I had a feeling this feature request would be coming. Download and install revised wikiform.php and formtitle.php scripts from http://www.pmwiki.org/wiki/Cookbook/WikiForms Then add ! to the field of type title, e.g. :Description:description (title!) Or :Description:description (title!=25) For this to work, you must update both the wikiform and formtitle scripts. JR _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
