Hide form fields that have not been filled in

Hi everyone

If a customer does not fill in a certain form field, I would like this form field to not show up in the email.

Is there a way to do this?

Many thanks!

The only approach I’ve seen that works consistently is custom code. You can write a bit of JavaScript that executes on submit, will check all of the fields in your form, and delete the elements that you don’t want.

Then when the form is submitted to Webflow’s forms handler, it will compose the email accordingly.