Juan Peralta
Member
Posted 5 months ago #
Hello from Spain. This is about mandatory fields error. The message can be changed in the Contact-Form 7 under the Messages section - message header: "# There is a field that sender is needed to fill in". The problem of this is the same message for all required fields. My case is simple and my knowledge poor. I have a mandatory checkbox for Privacy Policy and I would like a different message for this particular field. I saw that there is another message with the header: "# There is a field of term that sender is needed to accept". How can I choose this message for my mandatory checkbox field or when does this message appear?
Thanks a lot. Best regards
http://wordpress.org/extend/plugins/contact-form-7/
Juan Peralta
Member
Posted 5 months ago #
Thanks Takayuki. I tried Acceptance but the effect of this is to disable straight the "Submit" buttom with no error message possibility, I think. I prefer an error message better for my checkbox, to inform the user, better than the user trying to guess why the button is disabled.
Any other workaround?
Juan Peralta
Member
Posted 5 months ago #
Thanks, finally it worked. It has been quite a nightmare without explanation. I followed straight your indications and the form didn't work well, it kept on always giving the general error message when submit: Validation errors occurred.... This happened as well when I removed the Captcha field. I found no real explanation for that error. Finally I created a new form with exactly the same content and it worked.
Regards