<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>I updated forms.php and drafts.php from svn.</div><div><br></div><div>I changed the button-end of my profile PmForm to:</div><div><br></div><div><div>(:input submit post Save:)</div><div>(:if auth admin:)</div><div>(:input submit postdraft "Save draft":)</div><div>(:else:)</div><div>(:input hidden postdraft 1:)</div><div>(:if:)</div><div>(:input end:)</div><div>[[#profileformend]]</div></div><div><br></div><div>Per the emailed instructions.</div><div><br></div><div><br></div><div><br></div>When I'm logged in as admin, "Save" and "Save Draft" both save to the Profile's Data (_and_ Draft) page.<div><br></div><div>Same when logged in as non-admin, only there's just one "Save" button.</div><div><br></div><div>So it's creating/updating both, populated with the same data.</div><div><br></div><div>By manually changing the -Draft, I can tell the form is correctly pre-populating from the Draft page.</div><div><br></div><div>Thank you for the new feature (in progress)!<br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><br class="Apple-interchange-newline">Criss Ittermann</div><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Business Coach, Eclectic Tech LLC</span><br style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;"><a href="http://EclecticTech.net/Events/">http://EclecticTech.net/Events/</a></span><br style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">845-820-0262</span></div></div>
</div>
<br><div><div>On Nov 13, 2014, at 4:05 PM, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 12.11.2014 19:56, Petko Yotov wrote:<br><blockquote type="cite">To be clear, only the posting and saving to a draft page can be<br>configured. Opening a PmForm on an existing page will display the data<br>from the real page, not from an existing draft page.<br></blockquote><br>Well, I committed to Subversion a change that would allow to define more than one source= pages in input default. One could write:<br><br>  (:input default source={*$FullName}-Draft,{*$FullName}:)<br><br>Then the values will be taken from the first page which exists and for which the user has read permissions.<br><br>This needs testing so please get the forms.php file, test the feature and report any problems.<br><br>Petko<br><br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>http://www.pmichaud.com/mailman/listinfo/pmwiki-users<br></blockquote></div><br></div></body></html>