WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[select] field with blank element issue (3 posts)

  1. vugluskra
    Member
    Posted 2 years ago #

    I have found strange cf behaviour when the form contains an [select] fileld with "include_blank" parameter. Example form:

    <p>Answer<br />
    [select* your-answer include_blank "No" "Yes"]</p>
    
    <p>[submit "Send"]</p>

    On page loaded, the blank element (---) preseted in the "your-answer" field. After clicking the "Send" button, i see the "Your message was sent successfully" box and the message is actually sent without error.

    After clicking the "Send" button again the "strange behaviour" begins. The "your-answer" field clears (no item selected, must be "---" selected). The "spinning arrows" is spinning infinitely. No any error messages.

    What expected: blank item must be selected into the "your-answer" field. Validation error tooltip and message must be shown.

    Documentation and FAQ dont helps. Sorry for my english...

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

  2. vugluskra
    Member
    Posted 2 years ago #

    Edit: from PHP error log:
    [Thu Oct 20 02:19:37 2011] [error] [client 127.0.0.1] PHP Notice: Undefined index: your-answer in censored\\modules\\select.php on line 135

  3. vugluskra
    Member
    Posted 2 years ago #

    Help me please :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic