WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
field in Disable status (2 posts)

  1. ronenn1100
    Member
    Posted 1 year ago #

    Hi,

    how can I change a field to be disable in order to prevent from the user to change the default value in the field?

    Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Andrew Tibbetts
    Member
    Posted 1 year ago #

    Bump. Need a 'disabled' var for select options.

    tag:

    [select select_name disabled:1_4 "Category 1" "Option 1" "Option 2" "Option 3" "Category 2" "Option 4" "Option 5"]

    code:

    <select name="select_name">
    <option disabled>Category 1</option>
    <option value="Option 1">Option 1</option>
    <option value="Option 2">Option 2</option>
    <option value="Option 3">Option 3</option>
    <option disabled>Category 2</option>
    <option value="Option 4">Option 4</option>
    <option value="Option 5">Option 5</option>
    </select>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.