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.

Form Questions /

Issues when using UploadField


Reply


329 Views

Avatar
Nobi

Community Member, 5 Posts

27 October 2012 at 7:46am

I am using UploadField on a Dataobject editor with getCMSFields()

There is some issues when Create New Data. I upload a file when this new data have not been save. Its shows success upload like the screenshot I've attached.

But when, I back to the Grid list form, then I edit the last created data, it is show me no image uploaded in UploadField input.

I don't know why, but I guess the first image uploaded failed to linked to Dataobject because it's don't yet exist. When I save it, the Dataobject ID was created, and when I upload an image it success to linked Dataobject ID and Image file ID.

Its supposed to be an easy task, I just want to disabled UploadField when the data has not been created yet, but in SS 3.0 I doesn't have idea how to do this ?

Can anyone help me to solved this ?

Thanks.

Attached Files