Hi,
I'm not sure in which version it was introduced, but I'm pretty sure there is a bug as I've noticed it on a few sites:
- placeholders are not shown.
- select_text attribute for the select field shortcode displays "--- not set ---" regardless of what was set
Please check it on your side. Thanks.
- select_text attribute for the select field shortcode displays "--- not set ---" regardless of what was set
This is a known issue, thanks for the report. A fix will be included in the upcoming CRED 2.0 release.
- placeholders are not shown.
I'm not aware of a known issue with placeholders. Can you give me more information about this?
- What plugin version (or versions) exhibit this problem?
- What type of custom field is this?
- Is this a Create or Edit CRED Form?
- Is the problem visible in more than one browser, like Chrome or Firefox, etc.?
- Copy + paste the CRED field shortcode of one broken example here for me to review.
Hi Christian,
Thanks for the reply.
- What plugin version (or versions) exhibit this problem?
1.9.6.1
- What type of custom field is this?
input text, textarea
- Is this a Create or Edit CRED Form?
Both, quite bad actually, I had to fix it quickly with JS as the labels in the design are not shown and there is no way to understand what a field is for.
- Is the problem visible in more than one browser, like Chrome or Firefox, etc.?
All I tried: Chrome, Firefox, Opera, Yandex mobile.
- Copy + paste the CRED field shortcode of one broken example here for me to review.
[cred_field field='customer-name' post='assignment' value='' urlparam='']
I just checked it on another site, same problem.
Thanks for looking into it.
I'm confused. The example field shortcode you provided does not include a placeholder attribute, are you saying that you have tried adding a placeholder attribute, but it does not work as expected? The placeholder should appear when you use the following code:
[cred_field field='customer-name' post='assignment' value='' urlparam='' placeholder='e.g. Pizza']
When I add a placeholder attribute, I'm not able to replicate this problem. Here's a live test using the latest plugin versions:
https://christiancox-22119-rtl-1.discover-wp.com/add-team-member/
Here's the code from the CRED form:
<div class="form-group">
<label>Team member role</label>
[cred_field field='team-member-role' value='' urlparam='' class='form-control' output='bootstrap' placeholder="e.g. Project Coordinator"]
</div>
If you sign up at our test sandbox discover-wp.com, I can give you wp-admin access to see this setup.
Oh... I competely forgot you can do that... thanks for reminding.
But I actually meant the placeholders that are set in the settings of the field. I'm closing the ticket now, because adding them via shortcode solves my problem, but I think you should still try to replicate the issue with the placeholder in the settings.
Thanks for helping.