Make file in attachment in form widget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Make file in attachment in form widget

G.Ben
Hi,

Is it possible to make a file in attachment in a form widget ?

If it's a yes, please how to do that, and what are the extensions available, and how we can limit the extensions and size of the file.

Thank you.

Regards.

G.Ben.
Reply | Threaded
Open this post in threaded view
|

Re: Make file in attachment in form widget

Arun Kumar Batham
Hello G. Ben,

You can take reference from this code for file attachment in a form widget:

<form name="FindPartyext" type="single" target="findRequest"
default-entity-name="Person">
<field name="file" title="File"><file maxlength="225"
size="25"></file></field>
<field name="upload" title="Upload File"><submit
button-type="button"/></field>
</form>

or try this:
https://demo-stable.ofbiz.apache.org:8443/catalog/control/EditCategory?CATALOG_TOP_CATEGORY=CATALOG1&productCategoryId=CATALOG1

Thank you.

Regards
Arun Kumar Batham

On Tuesday 05 June 2012 06:54 PM, G.Ben wrote:

> Hi,
>
> Is it possible to make a file in attachment in a form widget ?
>
> If it's a yes, please how to do that, and what are the extensions available,
> and how we can limit the extensions and size of the file.
>
> Thank you.
>
> Regards.
>
> G.Ben.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Make-file-in-attachment-in-form-widget-tp4633253.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Make file in attachment in form widget

G.Ben
Thank you,

It was really helpful.

Regards.

G.Ben.