Sorry about the partial. I didn't know if putting the full form in an email would be bad form, like using all caps.<br><br>This is set: $EnablePostDirectives = true;<br><br>Form:<br><br>(:foxmessages:)<br>(:fox projectform put=top target='{$$projecttitle}' ptvupdate=1 template=ProjectTemplates#new redirect=1 upload=1 :)<br>
(:input defaults source={$EditSource} :)<br><br>'''Hide from reports:'''(:input default $:hide Yes :)<br>(:input radio $:hide Yes :) Yes<br>(:input radio $:hide No :) No<br><br>'''Notify:'''<br>
(:input checkbox foxnotify[] SystemManagers "Systems" :) Systems<br>(:input checkbox foxnotify[] DevManagers "Development" :) Development<br><br>'''Status:'''(:input default $:status Pending :)<br>
(:input radio $:status Pending :) Pending<br>(:input radio $:status Active :) Active<br>(:input radio $:status Hold :) Hold<br>(:input radio $:status Completed :) Completed<br>(:input radio $:status Archived :) Archived<br>
<br>'''Area:'''(:input default $:area Project :)<br>(:input radio $:area Project :) Project<br>(:input radio $:area Maintenance :) Maintenance<br><br>|| '''Project Title:'''||(:input text projecttitle "{$:projecttitle}" size=80:) ||<br>
|| '''Project Manager:'''||(:input text name=$:leader size=80:) ||<br>|| '''IT Members:'''||(:input text name=$:itmembers size=80:) ||<br>|| '''Objective:'''||(:input text name=$:objective size=80:) ||<br>
|| '''Implementation Date:'''||(:input text name=$:implementation size=80:) ||<br>|| '''Business Contact:'''||(:input text name=$:businesscontact size=80:) ||<br>|| '''Statement of Work:'''||(:input textarea name=$:work cols=80 rows=10:) ||<br>
|| '''Itinerary:'''||(:input textarea name=$:itinerary cols=80 rows=10:) ||<br>|| '''Testing Procedures:'''||(:input textarea name=$:testing cols=80 rows=10:) ||<br>|| '''Post Mortem:'''||(:input textarea name=$:postmortem cols=80 rows=10:) ||<br>
|| '''References:'''||(:input textarea name=$:references cols=80 rows=10:) ||<br>|| '''Author:'''||(:input text author {$Author} size=20:) ||<br>|| ||(:input submit post Enter:)||<br>
(:foxend projectform:)<br><br><br>Template--<br><br>!!!#display for Project Templates<br>[@<br>[[#display]]<br>(:title {{$$projecttitle}}:)<br>>>right messageheader<< <br>%green%[-created {(ftime "%d %b %Y - %H:%M" @{{$$date}})}-] (:if expr ( auth admin || author {$$author} ):) {[foxedit form=NewProject]}%% (:if:)<br>
>>frame messagetext<<<br>||border=0 rules=rows frame=hsides<br>||'''Hide from reports:'''||{{$$hide}}||<br>||'''Status:'''||{{$$status}}||<br>||'''Area:'''||{{$$area}}||<br>
||'''Project Title:'''||{{$$projecttitle}} ||<br>||'''Project Manager:'''||{{$$leader}} ||<br>||'''IT Members:'''||{{$$itmembers}} ||<br>||'''Objective:'''||{{$$objective}} ||<br>
||'''Implementation Date:'''||{{$$implementation}} ||<br>||'''Business Contact:'''||{{$$businesscontact}} ||<br>!!!Statement of Work<br>{{$$work}}<br><br>!!!Itinerary<br>{{$$itinerary}}<br>
<br>!!!Testing Procedures<br>{{$$testing}}<br><br>!!!Post Mortem<br>{{$$postmortem}}<br><br>!!!References<br>{{$$references}}<br><br>>><<<br><br>-----<br>[[Projects]]<br><br>[[#displayend]]<br>@]<br><br><br>!!!#new for new project pages<br>
This is used by form on NewProject page<br>[@<br>[[#new]]<br>#foxbegin#<br>(:title {$$projecttitle}:)<br>(:include ProjectTemplates#display date=$:date hide=$:hide status=$:status area=$:area projecttitle=$:projecttitle leader=$:leader itmembers=$:itmembers objective=$:objective implementation=$:implementation businesscontact=$:businesscontact work=$:work itinerary=$:itinerary testing=$:testing postmortem=$:postmortem references=$:references author=$:author :)<br>
<br>(:author: {$$author}:)<br>(:date: {$$(timestamp)}:)<br>(:hide: {$$hide}:)<br>(:status: {$$status}:)<br>(:area: {$$area}:)<br>(:projecttitle: {$$projecttitle}:)<br>(:leader: {$$leader}:)<br>(:itmembers: {$$itmembers}:)<br>
(:objective: {$$objective}:)<br>(:implementation: {$$implementation}:)<br>(:businesscontact: {$$businesscontact}:)<br>(:work: {$$work}:)<br>(:itinerary: {$$itinerary}:)<br>(:testing: {$$testing}:)<br>(:postmortem: {$$postmortem}:)<br>
(:references: {$$references}:)<br>#foxend#<br>[[#newend]]<br>@]<br><br><br><br><div class="gmail_quote">On Thu, Jun 12, 2008 at 1:06 PM, Hans <<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Wednesday, June 11, 2008, 7:09:00 PM, Scott Smith wrote:<br>
<br>
> Here's a snippet--<br>
<br>
</div>> ||'''References:'''||(:input textarea cols=80 rows=10:) ||<br>
<div class="Ih2E3d"><br>
> So, you're saying it should be (:input textarea references "{$:references}"<br>
> cols=80 rows=10:)<br>
<br>
</div>No. name=$:references refers to the PTV name 'references'<br>
<br>
Actually your form snippet works fine for me, like in this form<br>
(and no need for quotes anywhere):<br>
-----<br>
(:foxmessage:)<br>
(:fox frm ptvtarget={$FullName}:)<br>
<div class="Ih2E3d">||<br>
||'''References:'''||(:input textarea name=$:references cols=80 rows=10:) ||<br>
</div>(:input submit post Enter:)<br>
(:foxend frm:)<br>
<br>
references: blabla<br>
-----<br>
<br>
With this form I can post directives of form (:....:),<br>
if I have set in config<br>
$EnablePostDirectives = true;<br>
<br>
If I don't set this, then the directive gets 'disarmed' by converting<br>
the (: .... :) into (&#x3a; ..... #x3a;)<br>
<br>
If it does not work for you, then please provide a complete example!<br>
Parts of forms are not much use for analising!<br>
<font color="#888888"><br>
<br>
~Hans<br>
<br>
</font></blockquote></div><br>