Apologies in advance if this is addressed elsewhere. I searched extensively but couldn't find an answer.
To be brief, I have created a text field for URL input. The field is NOT required, but I entered validation strings for both javascript and php just in case I decide to make it required in the future. Logically, validation should only kick in if a field is not empty. However, in the front end, even if the field is empty, I will still get an error message that the field is invalid.
Is this intentional? Is there a workaround? I'd hate to remove my validation definitions if at all possible (but I could if I had to). Thanks in advance for the help.