Search code examples
wordpressplaceholdercontact-form-7

How to make Contact Form 7 quiz field a placeholder


I'm trying to add a "Quiz" field in Contact Form 7, but the question I have set is appearing above the field and cannot be seen against the background that the contact form is on. The rest of my fields are set as placeholders, is there any way to set the question of the Quiz field as a placeholder? Any help is much appreciated.

Thanks, Amber


Solution

  • From what I can gather without seeing you Contact Form 7 template code, is that you do not want to use the label within the page. If you remove the label content and within the 'quiz' field, you can add the question as a placeholder. An example of this would be:

    [text* quiz-question placeholder "This would be your quiz question here?"]
    

    I hope this helps.