I have created sample form using gravity forms which has some fields with file upload field. when form loads, it will check for existing data and if there it will populate it from database.
Once user uploaded the file and clicks on submit button, the page being refreshed and showing "x" button(image) with file name which was uploaded, but how do I know user clicked on "x" button(user choose the remove button). Is there any hook or function, so in the next submit button I know the user wants to remove the previously uploaded file?
How to populate the existing file link in gravity forms which was uploaded)(if any) and give the user option to remove the file (some kind of button) otherwise show file upload field.
Could anybody please help me?