felixarntz / bootstrap-for-contact-form-7

This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
https://wordpress.org/plugins/bootstrap-for-contact-form-7/
GNU General Public License v2.0
24 stars 18 forks source link

{input_before}@{/input_before} is not working with required fields #38

Closed hilgigars closed 6 years ago

hilgigars commented 7 years ago

For example:

[text name class:form-control]{input_before}<i class="fa fa-user"></i>{/input_before}Name[/text] Is OK.

And this code will not work: [text* name class:form-control]{input_before}<i class="fa fa-user"></i>{/input_before}Имя[/text]

felixarntz commented 7 years ago

Note that you have to add the asterisk in the closing tag as well. Then it should work.