Shouldve mentioned the form is at the bottom of http://www.craigtyner.com/
and that I upgraded to the most recent version of wordpress today as well.
Hi Tynermeister,
We will check how we can help you with your issue as soon as possible.
Also, quick question, did you make some other changes except WP update?
I updated quite a few other plugins, so if it’s an issue on my end, it’s probably that. Only thought of that now, so I’ll try disabling as many as i can, but that’s the only thing I can think of.
Tynermeister,
Here is screenshot from our demo site (last WP + last plugin version): http://clip2net.com/s/3o9MKsD
Here is screenshot from your site: http://clip2net.com/s/3o9N85A
All fields name on your site are equal – name=”scfp-placeholder”.
By default all field names are generated automaticly and always have unique values. So based on screenshot from your site, we can’t define cause and explain how it can be possible.
Ok, that’s from code you’ve sent me previously used to add placeholder text to the fields.
I’ve removed the code now, and now all the field names are reading the same as the form on your site. It’s now working fine, but it’s a pity I now have no placeholder text.
It’s unfortunate that a previous fix caused a new problem, but thank you for the quick support.
Could you pls send code that you removed?
Sure:
It’s found here in this forum a few months ago.
add_filter( ‘wcp_contact_form_get_fields_settings’, ‘tm6830_my_placeholders’ );
function tm6830_my_placeholders ($data) {
foreach ($data as &$item) {
switch ($item[‘name’]) {
case ‘Name’:
$item[‘atts’][‘placeholder’] = ‘Your Name’;
break;
case ‘Email’:
$item[‘atts’][‘placeholder’] = ‘Your Email’;
break;
case ‘Message’:
$item[‘atts’][‘placeholder’] = ‘Type your message here’;
break;
default:
break;
}
}
return $data;
}
OK, seems we’ve found issue. We will update plugin tomorrow with fix for this issue and you will be able to use this code for placeholders.
Hi Tynermeister,
Please update plugin version – and turn back code that you removed.
Now it should work properly, but please retest form submission after hook usage.
Awesome!
Works perfectly. Forms are sending, and placeholder text is there.
Thank you again!
It is great that we were able to help you with your issue.