Hi
I wish I could comment a file from the webpage ... I tried this (the "add to log' is for see if it work)
---
<form method='post'>
<input type='text' name='filecomment' value="{.!Filename to comment.}"
onclick="if(this.value=='{.!Filename to comment.}')this.value='' "
style="background-color:#fff; border:1px solid #000;" size="28">
<input id=texto name=text value="{.!Enter your comment here.}"
onclick="if(this.value=='{.!Enter your comment here.}')this.value='' "
style="background-color:#fff; border:1px solid #000;"
onfocus="javascript:refresh='true';" size="77" onchange="textsend();">
<input type='submit' name='commentfile'>
</form>
---
[special:begin]
{.if|{.and| {.postvar|commentfile.} | {.filename|{.postvar|filecomment.}.} .}|{:
{.add to log| commentaire sur
%folder-resource%\{.filename|{.postvar|filecomment.}.}
{.postvar|text.}
.}
:}/if.}
This is displayed in the log ... but at this moment, the comment is not saved and not displayed on the web page.
My questions are:
This is it possible with the existing macros?
If yes, someone would be a solution to suggest?
Thank you in advance.