Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

images optional?


Go to End


2 Posts   974 Views

Avatar
yurigoul

Community Member, 203 Posts

13 May 2011 at 8:55am

Hi,

Am working on a small dom with uploadify where people can upload an image, write a small text and add a link to it.

But is there a way to make it optional to upload an image? Right now the user has to upload an image to get to the part where they can enter a text and a link. Clicking 'continue' just reloads the same screen, it does not bring you to the next screen where you can just add text and a link without submitting an image.

thnx!

YuriGoul

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 May 2011 at 4:04am

In FileDOM and ImageDOM, the upload is mandatory, but if you have optional uploads, I recommend a standard DOM.

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com