<div class="error-message-input">Compile this field.</div>
also when the user leaves the field empty? I put the tag
required
to the input field but it shows the message only when the user focused on and leaves the field empty. I’d like to show the message also when the user didn’t focused on the field and Leaves the input empty, for example the user click on submit button, but the field empty are underline on red with the message.
in this way the fields are immediately highlighted in red. Is not possible to underline them if the user leave the field empty because he didn’t focused on the field?
Hi @nolimits4web your suggestions works with android smartphone, mac ios, but it doesn’t work on iphone. On iphone the red underline is not showed. I don’t have an idea the reason