Forum: Ruby on Rails file upload browse button triggers action

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peter V. (Guest)
on 2006-02-13 12:09

I'm new to RoR and I have a file upload form with file_field. Whenever I
use the browse button to select the file name, my action (create) gets
I only want the action to get triggered when the submit button is

Is this possible or should I handle this in my create action,
redisplaying the form if submit was not pressed

How should this be done?

Thanks in advance

Peter van Paassen
This topic is locked and can not be replied to.