• Hi,

    When I try to submit the form without fill the field, a error message is displayed “Please fill out required fields”. But the html generated by the js is incorrect and CSS don’t apply because there is a class on closing tag :

    <div style="/*display:none*/" class="sib_msg_disp"><p&nbsp;class="sib-alert-message&nbsp;sib-alert-message-warning&nbsp;">Please fill out required fields<p></p></p&nbsp;class="sib-alert-message&nbsp;sib-alert-message-warning&nbsp;"></div>

    I have this behaviour with the wordpress default theme.

    I found that in mailin-front.js, the spaces are not correctly encoding. I replace the spaces line 12 :
    form.find('.sib_msg_disp').html('<p class="sib-alert-message sib-alert-message-warning ">' + sibErrMsg.requiredField + '</p>').show();

    and everything works fine.

    Could you please fix this ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with space encoding’ is closed to new replies.