You can put HTML in the settings:
HTML before form field
HTML before after field
I cannot find the semi colon problem
What field type is doing that?
Thread Starter
sqhk
(@sqhk)
@mike Challis: First, thank you for replying. The semi-colon comes from si-contact-form-display.php and particular from lines such as these:
$string .= esc_html(($si_contact_opt['title_dept'] != '') ? $si_contact_opt['title_dept'] : __('Department to Contact', 'si-contact-form')).':';
$f_name_string .= esc_html(($si_contact_opt['title_fname'] != '') ? $si_contact_opt['title_fname'] : __('First Name', 'si-contact-form')).':';
$l_name_string .= esc_html(($si_contact_opt['title_lname'] != '') ? $si_contact_opt['title_lname'] : __('Last Name', 'si-contact-form')).':';
$string .= esc_html(($si_contact_opt['title_name'] != '') ? $si_contact_opt['title_name'] : __('Name', 'si-contact-form')).':';
$string .= esc_html(($si_contact_opt['title_miname'] != '') ? $si_contact_opt['title_miname'] : __('Middle Initial', 'si-contact-form')).':';
$string .= esc_html(($si_contact_opt['title_mname'] != '') ? $si_contact_opt['title_mname'] : __('Middle Name', 'si-contact-form')).':';
...
You’ve added “esc_html” to those lines, but you’ve not closed the parenthesis correctly. The parenthesis should go after ‘:’ and not before ‘:’
Sorry you are having trouble. I cannot duplicate the problem. What extra field type are you experiencing the semicolon after your question mark. I cannot find the line of code that could cause that. Do you have a URL to your form?
The semicolons for the name field labels have been changed so the translations include the semicolons. This would not have involved any extra fields though.
This was added to the current download of 3.1.6.1
Look here for how to update to the latest code before the next version is out
http://www.fastsecurecontactform.com/update-to-the-latest
how can we downgrade to the previous version if the update has broken our site? i can’t find it anywhere.
Thread Starter
sqhk
(@sqhk)
@mike Challis: I downloaded 3.1.6.3 today, and both problems are completely solved. Thank you!