>Date: Tue, 31 Mar 2009 02:25:57 +0100 >From: david roundell <[email protected]> >Subject: [pmwiki-users] wikiforms - still getting errors with title > >i'm hoping jr is awake...!
It's your lucky day... > >a while ago i reported problems with the title directive, for >some unknown reason its reoccured. (ref: >http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/52658/match=title+wikiform) > > > >if i code in the formtemplate - > > > >Server Name sname Name (title!=25) + I expect you mean: :Server Name:sname Name (title!=25) + > > >and view it in the view template > > > >Server Name <sname> > > >i can create a form and all is good. if i edit the document >with ?action=editeform the field using title goes bad - First, what does the wiki page source look like? Could you copy and paste an example? We added a title!... option that prevents an author from editing this field, so the editeform action should display: Server name followed by the name of the server, with no edit box Not: > >Server Name :title david test:) > > >it sppears to pick up both the example text i entered (david >test) as well as part of the syntax that the formtemplate is >coded. worse still, subsequent edits repeat this and display >multiple fields for 'server name'. > > > >i've tried coding > > > >Server Name title (title) + Again, I think you mean: :Server Name:title (title) + > > > >but get the same error. like i said, it only happens when doing >a ?action=editeform. could this be affecting the markup? on >browsing the entry the syntax id displayed as expected. The important thing is what wiki page source gets produced. If this goes wrong, the forms editing function will get confused. It should look like this: :Server Name:text of server name (:title text of server name:) If it's anything else, something is wrong! > > > >sorry to be a pain! No problem -- it looks to me like a form template coding error. JR -- John Rankin Affinity Limited T 64 4 495 3737 F 64 4 473 7991 021 RANKIN [email protected] www.affinity.co.nz _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
