Formbuilder: updates not saved when a populated field of type "file" is present in the form
Overview
When a field of type "file" is present in the form, then updates in this form when submitted, are not saved. https://chat.civicrm.org/civicrm/pl/jq8ei9pxa3r58nr13rsgzqy9tr
Reproduction steps in WP master
Create a customized field "file" for contact. Ex: Resume Create a basic form with an individual: first name, last name marital status, and the field Resume
view as logged in (as a user "demo")
Update first name, last name (but not the file)
The data are correctly saved
Update a field and upload a file
view again and update marital status, first name
I remove the file and change the marital status
The marital status has been updated but the file has not been removed
Environment information
Wpmaster 5.72 The bug is also in 5.70.2
I'm OK to fund the fix !! I need it for a client :-)