[pmwiki-users] Attach form field type (was: More answers to:More Wikiforms)

John Rankin john.rankin at affinity.co.nz
Tue Aug 7 19:58:21 CDT 2007


On Tuesday, 7 August 2007 11:30 AM, Sameer Kumar <skumar at eharch.com> wrote:
>
><snip>
> 
>On a related issue: In case I want to convert each of the
>entries into links (I do that by using
>[[(groupname.)<formfield>]]), I would not be able to achieve
>that with these multiple input boxes, would I? I believe that
>it would be best achieved by creating separate input boxes for each entry. Do you agree?
>
That's correct.
 
><snip>
> 
>I have had an "attach" field type on my to do list for a while.
>Maybe it's time to give this task a higher priority...
> 
><snip>
> 
>That sounds good. I would like to be able to restrict the file
>names and not have the users type it in.
>Could you guide me some more with this?
>Thanks.
>
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>


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list