[pmwiki-users] Attach form field type (was: More answers to:More Wikiforms)
Sameer Kumar
skumar at eharch.com
Fri Aug 10 11:44:58 CDT 2007
<snip>
In that case, you might be better using the "hide" field type;
for example:
:Image file:image (hide Attach:Image_$Name.png)
This will force the value of the field to be (for page 00001)
Attach:Image_00001.png
I included the page name to guarantee a unique file name.
<snip>
The above field markup does not work.
This is what I put in the FormTemplate:
:Image:image (hide Attach:Image_$Name.png)
This is what I got on my Projects.Add form, without an input box:
Image: Attach:Image_{$Name}.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070810/3cf3b0d5/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5002 bytes
Desc: image001.jpg
Url : /pipermail/pmwiki-users/attachments/20070810/3cf3b0d5/attachment.jpe
More information about the pmwiki-users
mailing list