I have a number of email address inputs in my form that are NOT required. I want them to be optional, but I also want them—if the user chooses to fill them in—to be validated as syntactically correct email addresses in order to keep my database clean, which is why I didn't use plain text inputs.
However, it seems that Gravity Forms won't allow this, it fails to submit because it seems email inputs won't accept a null value, even if required is set to false. Is this true, or am I doing something wrong?
A secondary issue, and this is just something to note for the future release of HTML5 placeholder attribute support ... is that if I wanted to have a default value populated and then cleared on focus (in lieu of a label), then I currently have to use Javascript to do so. But the problem with the email inputs (or any content type that undergoes validation) is that this prepopulated value is then validated against (vs. being excluded if the input never received focus), even if the input is optional. So, the workaround (until placeholder support is available) is to use the "description" field and position it inside the input, then clear it with Javascript on focus of the input. Anyway, just wanted to note this, since it's kind of awkward, and it's still dependent on the primary issue in this ticket.