Skip Navigation

[Resolved] Placeholder argument is not rendered by cred_field

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by haryonoS 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1111321

I am trying to: Add a placeholder text for a WYSIWYG editor using cred_field "placeholder" argument as explained on the following documentation
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field

I expected to see: the placeholder text rendered in the WYSIWYG editor

Instead, I got: a WYSIWYG editor without a placeholder

Additional information: the WYSIWYG field is the post's content field, not a custom field.

This is the snippet of the CRED form

<div class="form-group">
<label>Ticket Content</label>
[cred_field field="post_content" output="bootstrap" placeholder="Ticket description"]
</div>

#1111743

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Haryono,

Thank you for contacting our support forum.

I dont believe that you can add placeholders for WYSIWYG fields, however it is possible to have the placeholder for other field types.

Thanks,
Shane

#1112031

Hi, Shane.

I understand that WYSIWYG is not a just a simple textarea element that supports placeholder attribute.

Thank you for your help.