Problem with space encoding
-
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 class="sib-alert-message sib-alert-message-warning ">Please fill out required fields<p></p></p class="sib-alert-message sib-alert-message-warning "></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
- The topic ‘Problem with space encoding’ is closed to new replies.