So i found this wordpress plugin, and it's the only one that offers what i need, but it's outdated :/ This is the error:
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead
And this is the code that causes the error:
$brform = preg_replace('/<p>(<input\stype="hidden"(?:.*?))<\/p>/isme', "'<div style=\'display:none;\'>'.\"\n\".str_replace('<br>', '', str_replace('<br />', '', stripslashes_deep('\\1'))).\"\n\".'</div>'", $form);
I know the answer is in here, but i can't get it to work on this line of code, that's why i'm asking in here. How to do it when all this html and CSS is in there?