1 [[!meta author="""http://kerravonsen.dreamwidth.org/"""]]
3 [[!meta authorurl="""http://kerravonsen.dreamwidth.org/"""]]
5 [[!meta title="""change to forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160 on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-47726461a4119741affa6536deec7dd1fe52ef0d"]]
9 <div id="change-47726461a4119741affa6536deec7dd1fe52ef0d" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment;h=3e10dbbd9e2f662397f924a7493561a843d59768;hp=0000000000000000000000000000000000000000;hb=47726461a4119741affa6536deec7dd1fe52ef0d;hpb=8935a131d02ac13b6024dff9cbf7a5f837fcdc04" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=forum%2Ffield_and_forms%2Fcomment_1_a0e976cb79f03dcff5e9a4511b90d160&do=goto" rel="nofollow">forum/field and forms/comment 1 a0e976cb79f03dcff5e9a4511b90d160</a>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://kerravonsen.dreamwidth.org/" rel="nofollow">kerravonsen [dreamwidth.org]</a>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">web</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 02:18:52 +0000">02:18:52 11/23/10</span></span>
27 <span class="desc"><br /></span>
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=47726461a4119741affa6536deec7dd1fe52ef0d&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
34 <div class="changelog">
37 Added a comment: Limitations<br />
44 diff --git a/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
46 index 0000000..3e10dbb
48 +++ b/doc/forum/field_and_forms/comment_1_a0e976cb79f03dcff5e9a4511b90d160._comment
50 +[[!comment format=mdwn
51 + username="http://kerravonsen.dreamwidth.org/"
52 + ip="60.241.8.244"
53 + subject="Limitations"
54 + date="2010-11-23T02:18:52Z"
55 + content="""
56 +I'd already had a look at this idea before you posted this suggestion, and I ran into difficulties.
57 +So far as I can see, it makes most sense to use the mechanisms already in place for editing pages, and enhance them.
58 +Unfortunately, the whole edit-page setup expects a template file (by default, when editing pages, editpage.tmpl)
59 +and anything apart from \"submit\" buttons must have a placeholder in the template file, or it doesn't get displayed at all in the form.
60 +At least, that's what I've found - I could be mistaken.
62 +But if it's true, that rather puts the kybosh on dynamically generated forms, so far as I can see.
63 +I mean, if you knew beforehand what all your fields were going to be, you could make a copy of editpage.tmpl, add in your fields where you want, and then make a plugin that uses that template instead of editpage.tmpl, but that's very limited.
65 +If someone could come up with a way of making dynamic forms, that would solve the problem, but I've come up against a brick wall myself. Joey? Anyone?
67 +-- [[KathrynAndersen]]
68 +"""]]
73 <!-- 47726461a4119741affa6536deec7dd1fe52ef0d -->