<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

 

 

 

 

 

<<image001.jpg>>

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to