The Address field seems to have some default Placeholder text, 'Enter address'.
How can I change that? I've obviously tried placeholder="My Placeholder Text Here" on the cred_field. A Multiple lines field type used on the same form works with placeholder text?
I see what you mean, the documented placeholder attribute does not seem to allow you to manage this text. I will escalate this to our 2nd tier team for investigation. In the meantime, you can use some JavaScript to manage this:
jQuery(document).on('cred_form_ready', function(){
jQuery('input[name=wpcf-address-field-slug]').attr('placeholder', 'Your custom text here');
});
Replace address-field-slug with the slug of your custom field, and modify the text as needed.
I'll update you here with the information I receive about the escalated issue, please stand by.
Okay our 2nd tier support team has filed a feature request to support the placeholder attribute for this field. It's actually registered in Toolset Maps, so first the maps plugin must be updated then CRED can be updated to work with it. I don't have a timeline available yet for this improvement, but I'll update you here when I receive additional information. For now the workaround is as described above.
Is the placeholder attribute for the address field available now? If yes, where can it be set?