From: Yaron K. <ya...@gm...> - 2008-07-11 14:11:38
|
Hi, This is actually a Semantic Forms question, but no, you can't use variables. Although this doesn't seem like a good use case anyway - if the new page is created, and then the value of 'period' changes on the FOO page, you'd have data inconsistency. -Yaron On Fri, Jul 11, 2008 at 2:59 AM, Martin S <shi...@gm...> wrote: > I've been looking at variables in relation to editing a form. It doesn't > seem so but is it possible to have a dynamic lookup of stored values during > editing? > > Something like > > If $source==FOO then $period=BAR (where source is the name of an already > stored page; and BAR is the value of a property on the FOO page) > > and have the wiki to automatically add and display BAR as the value of the > property period. > > (Example: When adding a new recipe and entering the name of an existing > recipe source, the wiki would insert the age of the source in the active > form at a designated point.) > > Regards, > > Martin S > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > |