Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By root66 on
Hello,
i've got a file field in my content type. If someone clicks at the upload button next to the browse button, Drupal submits the form via ajax. Is it possible to hook into some function, parse the uploaded file and copy the parsed data for example in another form textfield?
Or asked differently, can I change all form values when a file is uploaded via ajax, or is this possible with the standard form submit only?
Thanks!