Posted: Thu Aug 23, 2007 4:50 pm
Hi,
I have some container fields on my site that are working well (as references to files placed on the system), except, for example if I upload a file and then want to blank the entry at a later date, how do I give the user the option to blank the container field? If they leave the "Browse" entry blank, it doesn't affect the data.
My fields.ini looks a bit like this..
[podcast_filename]
Type = container
widget:type = file
widget:label = "Podcast"
url = /podcasts
allowed_extensions = mp3
max_size = 20480
Thanks!
I have some container fields on my site that are working well (as references to files placed on the system), except, for example if I upload a file and then want to blank the entry at a later date, how do I give the user the option to blank the container field? If they leave the "Browse" entry blank, it doesn't affect the data.
My fields.ini looks a bit like this..
[podcast_filename]
Type = container
widget:type = file
widget:label = "Podcast"
url = /podcasts
allowed_extensions = mp3
max_size = 20480
Thanks!