Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Extending FORM abillites View modes: 
User avatar
Member
Member
eagleag - 6/2/2010 7:22:21 AM
   
Extending FORM abillites
Hi,
Is there anyway to have dynamic inputs on a form?
example:

Document type-
name- (text input)
date - (date)
image - (file upload)

On the FORM
I would like people to enter infor for doc type but if they would like to upload
another image they could click on a PLUS icon and get another IMAGE field.
the IMAGe field is just example, could be used for any kind of field.

How can I achieve this?

THANKS :)




User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/7/2010 8:32:22 AM
   
RE:Extending FORM abillites
Hello,

Yes, it is possible to achieve your goal. However, it will require some portion of custom development. You will need to create custom form control: devnet.kentico.com/docs/devguide/developing_form_controls.htm where you will use javascript to generate additional upload inputs which will be handled using our API: devnet.kentico.com/downloads/kenticocms_api.zip, devnet.kentico.com/docs/devguide/managing_attachments.htm. Particular implementation is up to you.

This custom form control will be used with the document types, so that you can choose it within the Site Manager -> Development -> Document types -> Edit -> Fields tab.

Best regards
Ondrej Vasil