• “I am trying to display a file upload button in my Contact Form 7 form, without any accompanying filename or the default “No file chosen” text. I want the button to be completely clean.

    I have tried using inline JavaScript with the onchange attribute to manipulate the text, but it is not working. I have also tried standard addEventListener javascript, which also does not work.

    When inspecting the rendered HTML, I see that the onchange attribute is being removed.

    Question:

    How can I display a file upload button only, removing the default filename display and the “No file chosen” text in Contact Form 7? Is there a specific method or setting to achieve this?

    Page Source: https://pastebin.com/nL5hpws7

    The page I need help with: [log in to see the link]

The topic ‘File Upload’ is closed to new replies.