admin管理员组

文章数量:1122832

I want to add "Placeholder" into contact form 7 really-simple-recaptcha plugin text field. I tried $('field_id).attr("Placeholder" "My Placeholder Text") using jQuery. Is there another method to do it?

I want to add "Placeholder" into contact form 7 really-simple-recaptcha plugin text field. I tried $('field_id).attr("Placeholder" "My Placeholder Text") using jQuery. Is there another method to do it?

Share Improve this question edited Oct 19, 2015 at 14:33 Aravona 5851 gold badge5 silver badges19 bronze badges asked Oct 19, 2015 at 14:21 viral mviral m 1211 gold badge2 silver badges8 bronze badges 1
  • Besides Howdy_McGee answer, note that there's a missing comma between "Placeholder" "My Placeholder Text" – Andrea Somovigo Commented Jan 21, 2020 at 10:09
Add a comment  | 

1 Answer 1

Reset to default 0

The Really Simple Captcha box is exactly like a normal WPCF7 textbox and a plceholder can be added in the same way:

[captchac my-captcha id:my-capcha-img]
[captchar my-captcha id:my-captcha-input Placeholder "* Captcha"]

本文标签: plugin developmentAdd placeholder into contact form 7 recaptcha text field