WordPress.org

Forums

Contact Form 7
[resolved] How to create a readonly field? (3 posts)

  1. isfak
    Member
    Posted 9 months ago #

    Hello,

    I would like to make some fields on my form readonly, so that the users won't be able to edit them. How is this possible?

    Thanks in advance!

    https://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 9 months ago #

    Each form-tag can have a readonly option.

    Example:

    [text your-name readonly default:user_display_name]
  3. isfak
    Member
    Posted 9 months ago #

    That worked fine; thank you so much for your immediate support!

Reply

You must log in to post.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic